Community
Inventor Forum
Welcome to Autodesk’s Inventor Forums. Share your knowledge, ask questions, and explore popular Inventor topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Is it possible to have the export object set by befault for new created boddy in Inventor 2022?

3 REPLIES 3
SOLVED
Reply
Message 1 of 4
hans-eric.vendelson
257 Views, 3 Replies

Is it possible to have the export object set by befault for new created boddy in Inventor 2022?

I would like to have the option Export Object set by default in new created bodies (for example when a mirror is done)

hansericvendelson_0-1646141246990.png

 

3 REPLIES 3
Message 2 of 4

Hi! I guess it will need an iLogic rule. I don't think there is an out-of-box solution.

Many thanks!



Johnson Shiue (johnson.shiue@autodesk.com)
Software Test Engineer
Message 3 of 4

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.

https://knowledge.autodesk.com/support/inventor-products/learn-explore/caas/CloudHelp/cloudhelp/2014...

Message 4 of 4

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!



Johnson Shiue (johnson.shiue@autodesk.com)
Software Test Engineer

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report