I would like to have the option Export Object set by default in new created bodies (for example when a mirror is done)
Solved! Go to Solution.
Solved by johnsonshiue. Go to Solution.
Hi! I guess it will need an iLogic rule. I don't think there is an out-of-box solution.
Many thanks!
You can probably export all objects in one shot through Manage (tab) > Author (panel) > Export Objects. I have not yet been able to find any iLogic snippets for that automatically though.
CAD and PLM admin | My ideas | Inventor-Vault Expert GPT (my AI brain)
Hi! Please bear with me. I am an novice iLogic user. Here is a simple iLogic rule to set all solid bodies exported.
Just create this rule and run it as you wish or trigger it on open.
Dim oDoc As PartDocument = ThisDoc.Document
Dim oCompDef As ComponentDefinition = oDoc.ComponentDefinition
Dim oBody As SurfaceBody
Dim i As Integer
i = 1
For Each SurfaceBody In oCompDef.SurfaceBodies
oBody = oCompDef.SurfaceBodies.Item(i)
If oBody.Exported = False
oBody.Exported = True
End If
i=i+1
Next
Many thanks!
Can't find what you're looking for? Ask the community or share your knowledge.