Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.

Sketch 3d remove lines

^_^clovis^_^
Advocate

Sketch 3d remove lines

^_^clovis^_^
Advocate
Advocate

Hello to all,

I'm writting a macro to remove entities (lines arcs..) in a 3D sketch that are not used in a sweep path, to clean the sketch3d up.

I was trying something like:

 

for each sketch3dEnt in sketch3dentities

 if sketch3dent not in oSweep.path then

   delete sketch3dEnt

 

but I can't like in Autocad use the handle to compare entities in a sketch3d.

 

How can I compare the entities in the sweep path against the 3D sketch to remove the un-used entities?

Thanks for any comments

0 Likes
Reply
367 Views
0 Replies
Replies (0)