Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski on being selected by the Eng-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
Joined
Apr 20, 2014
Messages
10
Location
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.

Part and Inventory Search

Sponsor

Back
Top