CheeseMaker13
Aerospace
I need to be able to apply "Activate Terminal Node" over an entire product, but currently I can't work out to get everything (including those parts buried two levels deep in 'components' to load.
I've tried to do it via each first level product, which works apart from no parts in components are loaded:
I've also tried:
And a few other combos without success.
Peoples thoughts?
I've tried to do it via each first level product, which works apart from no parts in components are loaded:
Code:
Set CATIA_Product = CATIA.Documents.Open("Path to File".CATProduct")
Set CATIA_Products = CATIA_Product.Product.Products
CATIA_Product.Activate
CATIA_Product.Product.ApplyWorkMode (DESIGN_MODE)
Product_Count = CATIA_Products.Count
For i = 1 To Product_Count
CATIA_Products.Item(i).ActivateDefaultShape
Next
I've also tried:
Code:
Set CATIA_Product = CATIA.Documents.Open("Path to File".CATProduct")
Set CATIA_Products = CATIA_Product.Product.Products
CATIA_Product.Activate
CATIA_Product.Product.ApplyWorkMode (DESIGN_MODE)
CATIA_Products.ActivateDefaultShape
And a few other combos without success.
Peoples thoughts?