Jump to content
Justin R Smith

Check if solid is generic or addition, subtraction, etc?

Recommended Posts

Is there anyway to check if a solid geometry is either generic or an editable 3D like solid addition or subtraction? Since Generic solids perform better I thought it would be nice to create a script to highlight they symbols in my library that are 3D but are not generic. When I check the object type of solids though they all come in as type 84.

Share this post


Link to post

Hi Justin,

   Yes, look for an object inside the CSG container. If it returns NIL, then it is a Generic Solid. If the handle exists, then the Solid has history.

 

Run this one line script on various selected 3D objects.

 

vs.Message(vs.FIn3D(vs.FSActLayer()), '  ', vs.GetTypeN(vs.FIn3D(vs.FSActLayer())))

 

Raymond

 

  • Like 1

Share this post


Link to post

Not even one 👍?   ¡¡¡Oh, la inhumanidad de todo!!!    :-p  

 

You're welcome.  🙂

 

 

 

  • Like 1

Share this post


Link to post

LOL – Thank you, Justin. If I had a mantle, I'd place it there. Perhaps I can tape it to the refrigerator.  😉

 

Raymond

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

 

7150 Riverwood Drive, Columbia, Maryland 21046, USA   |   Contact Us:   410-290-5114

 

© 2018 Vectorworks, Inc. All Rights Reserved. Vectorworks, Inc. is part of the Nemetschek Group.

×