Antografia
New member
- Apr 20, 2014
- 10
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
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