Block Wirenumber rename on a Horizontal or Vertal Wire

Block Wirenumber rename on a Horizontal or Vertal Wire

Hans_Knol
Advocate Advocate
254 Views
1 Reply
Message 1 of 2

Block Wirenumber rename on a Horizontal or Vertal Wire

Hans_Knol
Advocate
Advocate

Hi all,

 

In my drawings that must be converted I have a lot blocks with the name "~MARK", those blocks are on vertical lines and also on horizontal lines.

In AutoCAD Electrical you have a vertical block for a wire number, named WD_WNV and a horizontal block WD_WNH. 

does some know how to rename the blocks using Lisp, so looking to the line and scan if there is an block named "~MARK" on the line 2023-06-08_14-24-28.png

and change the name to "WD_WNV" or "WD_WNH"

 

or is the last character not necessary

Hans Knol
0 Likes
255 Views
1 Reply
Reply (1)
Message 2 of 2

james.mcmillanNYR6A
Collaborator
Collaborator

If you're trying to do this, you should look in the API help, there are various commands to put wire numbers, it will put the h/v block as required by the line. Have you tried writing something?

0 Likes