Skip to main content
1-Visitor
October 1, 2017
Question

VBAPI update mass properties

  • October 1, 2017
  • 0 replies
  • 1778 views

 

I am using Python/Win32com to automate Creo 3.0 models.

 

Basically I am trying to set a parameter through the VBAPI, regenerate the model, and then read the mass properties (updated surface area and volume)

 

I can now get the model to update and regenerate but for some reason the mass properties do not update! So even if I regenerate the part to be 10 times bigger, the mass properties dont change. If I change the parameters manually, the mass properties change too.

 

I have set the configuration option mass_property_calculate to automatic with no results.

 

Is there some trick in the VBAPI or some configuration option I could use to solve the problem?