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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


 

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.

×
×
  • Create New...