Data Standard - get the object mass

Data Standard - get the object mass

FedotovAnton
Enthusiast Enthusiast
436 Views
1 Reply
Message 1 of 2

Data Standard - get the object mass

FedotovAnton
Enthusiast
Enthusiast
  • Hello,
    I map inventor mass to Vault property, but to get it I need manually update physical properties. Is there a way to do it automatically, for example when data standard window opens?
    Thanks,
    Anton
0 Likes
437 Views
1 Reply
Reply (1)
Message 2 of 2

Markus.Koechl
Autodesk
Autodesk

Hi, 

referencing the Inventor library in your code you could do this in theory. I am saying "theory", because I think, to get mass available for PDM you should set up Inventor to calculate physical props on save; this is an option in Inventor application settings.

In case you continue to investigate your approach you might find these two steps useful: VDS 2017 has direct access to the Inventor document object. And in Inventor API samples there is the code to activate mass without dirtying flag: search for "Computing mass properties without dirtying document API Sample". 

 



Markus Koechl

Solutions Engineer PDM, Autodesk Central Europe
0 Likes