Jump to content

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.

Link to comment

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
Link to comment

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.

×
×
  • Create New...