Knowledge Base

Knowledge Base
Subject: Pointer format
Status Resolved
Product WireCAD v9
Product Level PRO
Database Type VISTADB
Build Number (last 4 digits of version)
Upload  Download!

Message

Customer
hello,
i am in the process of re doing a lot of cables and turning them into pointers so the drawing can be broken up onto separate pages for publishing. i have 2 issues;
the first one is that pointer "WC3_Pointer_v1_D.dwg" isn't symmetrical in its formatting, if you look at the attached screen grab can see i have drawn from Output 14 to input 13 and the output pointer is formatted very differently to the input pointer. is this an error or by design? is there a way to edit the pointer formatting so that both ends match? this is my preferred pointer format out of all the options available.
secondly if this is fixable and both pointers can be re formatted to match then is there a way to replace all of the existing pointers in the drawing "WC3_Pointer_D.dwg" to be this type? i saw that you had written a script to do this for another support ticket a while back.
Thanks
20-February-2019 (01:01 AM)
I am sorry. I am not quite understanding.
Do you prefer the WC3_Pointer_v1_D.dwg or the WC3_Pointer_D.dwg?
There is, indeed, an error in the distribution that causes the mismatch.
20-February-2019 (09:37 PM)
Support
Customer
sorry for the confusion,
"WC3_Pointer_v1_D.dwg" is my preferred pointer to use but it is not formatted properly. is there a way to fix this?
currently the drawing has "WC3_Pointer_D.dwg" pointers in it and if we can fix the formatting of "WC3_Pointer_v1_D.dwg"then I would like to change all pointers in the drawing to the newly formatted "WC3_Pointer_v1_D.dwg".
thanks
20-February-2019 (11:56 PM)
OK I think I understand. You can edit the base dwg file. They can be found in:
c:\users\public\documents\WireCAD\WireCAD9\Blocks\WireCAD Terminals\Pointers.
I recommend that you SaveAs to a new name. Keep the _S.dwg and the _D.Dwg part of the file name in tact.
Modify the file so that they please your eye.
Do not delete any of the attributes. If you don't want them to display set their InvisibleMode = true.
I will repost the script to swap pointers.
22-February-2019 (03:59 AM)
Support
OK here we go.
Unzip the file and place the two files in c:\users\public\public documents\WireCAD\WireCAD9\Scripts.
There are two scripts.
PointerSwapper.cs - replaces pointer sets.
TerminalSwapper.cs - replaces terminals.
Both require that you edit some variables in the script to tell the script which things to replace and with what.
Both scripts are well commented and should be reasonably understandable.
To run a script:
1. Open WireCAD, your project, and the drawing that you want to work in.
2. Open Plugins>Script Editor/Runner
3. Click File>Open and browse to and open the script.
4. Make any necessary edits to the script and save.
5. Click the run button [>] on the tool bar to execute the script.

Let me know how it goes. I am going to close this ticket but it you need more help just reply to reopen it.
22-February-2019 (04:00 AM)
Support
Customer
i just wanted to let you know that this worked really well, the pointers are now formatted correctly and they all changed to the new format using the scrip really easy.
i just wanted to confirm that there is no script to change cables to pointers.
thanks
24-February-2019 (11:58 PM)
No. We are considering that function for v10.
25-February-2019 (06:42 PM)
Support