DesignCAD 3D Max 2027 box
Now available

DesignCAD 2027

Hatches that follow their boundaries, an on-screen dial to turn your model, and a way to find any command by name, in a clean Windows 11 look.

DCAD V17.2 --- Macro to remove layer names

Started by Robert Willis, December 26, 2006, 10:20:38 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Robert Willis

I have received over 50 drawings from my company and I would like to remove all of the layer names in the files before I turn them into DCAD symbols. I would need to remove the name from the layers 1 thru 100.

Does anyone have a simple macro to do this?

prl

#1
Simple enough or you could also copy and paste to a new blank drawing. Layer names stay behind (unfortunately).

' Program: pln.d3m (purge layer names)


sys(36)=1 'silent mode
count=100 'change this to the number of layers you want to cycle through

for i = 1 to count
    sys(3)=i
    sys$(93) = ""
next i

sys(36)=0
message "Finished - purged layer names"
End



Robert Willis

 THANKS !!!!!! The macro works as expected.

Robert Willis