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

Hello @Anonymous 

 

I may not understand what you want exactly, but you can only reorient a sub-assembly or part within an assembly.

 

A part has no orientation / matrix..

 


@Anonymous  schrieb:

 

  Const PI = 3.14159265358979
  
  Dim d As Inventor.PartDocument
  d = ThisApplication.ActiveDocument
 

  Dim a As WorkAxis
  
  a = d.ComponentDefinition.WorkAxes(1)
 
  Dim o As Inventor.ComponentDefinition
  o = d.ComponentDefinition
...
  Dim m As Matrix
  m = o.Transformation

  ...

The red line should not be possible.

 

Can you make a few screenshots or a screencast to explain us your request in detail?


Aleksandar Krstic
Produkt- und Projektmanager