Skip to main content
16-Pearl
February 26, 2020
Question

Getting the IpfcTransform3D for a part in a assy?

  • February 26, 2020
  • 1 reply
  • 1128 views

to all

 

How does one get the IpfcTransform3D for a part in an assy

The basic program loops though the assy and I'd like to get the  property Position.

I am try to "hack" the vbapi example ' pfcAssembliesExamples' to no avail

 

Can any help? Thanks

1 reply

17-Peridot
February 26, 2020

Not a VB guy myself... but I think it is possible... you might look at the CREOSON source to see if there are any hints for how to do this with the VB-API.

 

If all else fails, you could connect to CREOSON via VB to get the data... look at  bom : get_paths.... then file : get_transform JSON requests under the CREOSON functions for some examples of what is being returned.

 

Hope that helps at least narrow down the direction with VB...

 

Dave

 

 

16-Pearl
February 27, 2020

Thanks for the tips. At this moment in time it's not an option but will have a look at it for sure

I am simply looking for the few lines of appropriate/correct code to get the IpfcTransform3D and use the properties of the object. I'd like to transform the (part) inertia matrix (already obtained) into the default co-ordinate system.

 

Thanks