Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
chandra.shekar.g
in reply to: Anonymous

@Anonymous ,

 

Yes, it is possible. Try below iLogic code.

 

Dim oDoc As PartDocument 
oDoc = ThisApplication.ActiveDocument 

Dim oDef As PartComponentDefinition 
oDef = oDoc.ComponentDefinition 

Dim oUCS As UserCoordinateSystem 
For Each oUCS In oDef.UserCoordinateSystems 
	If oUCS.Visible = False Then
		oUCS.Visible = True 'Turn on 	
	Else
		oUCS.Visible = False 'Turn off
	End If 
Next

Thanks and regards,


CHANDRA SHEKAR G
Developer Advocate
Autodesk Developer Network