Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Manikin properties

Status
Not open for further replies.

Antografia

New member
Apr 20, 2014
10
0
0
GB
Hello all,

I would like to get to the parameters of a Manikin. Specifically the properties shown in the "Resource" label when you do "rightclick/properties" on the manikin node: Name, category, type, sub type, manufacturer, etc.
I tried with the "Parameters" property of the Products but when I run it says that "Parameters.Count = 0"

My Code:

Dim Catia As Application
Set Catia = GetObject(, "catia.application")

Dim Document1 As Document
Set Document1 = Catia.ActiveDocument

Dim Product1 As Product
Set Product1 = Document.Product

Dim Product2 As Product
Set Product2 = Product1.Products.Item(1)

Dim Parameters1 As Parameters
Set Parameters1 = Product2.Parameters

'Here, Parameters1.Count = 0

I also tried with the propery "UserRefProperties" but with the same result.
Do anyone know how to do that?
Thanks a lot
 
Status
Not open for further replies.
Back
Top