How do I show mass in a VB form

 

How do I show the mass of a referenced PAR or ASM in a vb FORM?  I am using a FORM to view properties in a title block of a DFT, and I want to show the mass of all referenced PAR/PSM/ASM files.

I see how to do it using properties in a callout(i.e. %{mass}), but I want to show the actual value on the form.

 

Posted by: Jon Zaerr
Post date: 1/7/2009 10:26:31 AM

1 REPLY

RE: How do I show mass in a VB form

A Solid Edge 3D model with geometry has exactly 1 model. With that model you can call Model.GetPhysicalProperties(). I believe there are examples on calling this method here in the forums somewhere.

 

i.e. objPartDocument.Models(1).GetPhysicalProperties()

 

Posted by: Jason Newell
Post date: 1/12/2009 1:34:08 AM