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: 

Loading full model enables user coordinate system on all parts

3 REPLIES 3
SOLVED
Reply
Message 1 of 4
ThomasVelde
404 Views, 3 Replies

Loading full model enables user coordinate system on all parts

When swapping from express to full, on a large assembly, i experience that UCS appears on all parts. How can i remove this?

thomasvelde_0-1666010480111.png

And this is the view in express mode:

thomasvelde_1-1666010540884.png

 

Labels (3)
3 REPLIES 3
Message 2 of 4

Those look like Center of Gravity glyphs, not UCS.
You may have to open/activate EVERY subcomponent (part and assembly) under your main assembly and unselect "Center of Gravity" under the View Tab:

https://knowledge.autodesk.com/support/inventor/troubleshooting/caas/sfdcarticles/sfdcarticles/Inven...

 

You can use the following iLogic code in your main assembly to remove all of those in subcomponents:

 

Dim oDoc As Document = ThisApplication.ActiveDocument
Dim cmd As ButtonDefinition = ThisApplication.CommandManager.ControlDefinitions.Item("AppCenterOfGravityCmd")
If cmd.Pressed Then cmd.Execute
For Each aDoc As Document In oDoc.AllReferencedDocuments
     Dim bDoc As Document = ThisApplication.Documents.Open(aDoc.FullFileName, False)
     cmd = ThisApplication.CommandManager.ControlDefinitions.Item("AppCenterOfGravityCmd")
     If cmd.Pressed Then cmd.Execute
     bDoc.Save()
     bDoc.Close()
Next

 

Source: https://forums.autodesk.com/t5/inventor-ilogic-and-vb-net-forum/turn-off-center-of-gravity-by-code/m...

 

EDIT:

If you are using Inventor 2018, consider updating the software to fix a known bug that causes the same issue:

https://forums.autodesk.com/t5/inventor-forum/cog-problem-has-been-solved/m-p/7905839#M689528

Message 3 of 4

Thank you! I will try the code, and hope it saves me from changing them all manually

Message 4 of 4
ThomasVelde
in reply to: ThomasVelde

Update: I got some errors when running the ilogic rule, but the icons disappeared and everything looks good. Thank you for helping me out 🙂  

(i am using inventor 2021 if that is relevant)

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

Post to forums  

Autodesk Design & Make Report