sivo
Automotive
- May 24, 2005
- 2
Hi!
I want to select all faces with on color ("orange") in a product consisting of two parts.
Here's my code:
Set oSelection = CATIA.ActiveDocument.Selection
oSelection.Clear
oSelection.Search("Topology.CGMFace.Color='(155,200,145)',all")
all I get in return is one part
using edit->search with same settings, I get all the faces I want
what's wrong with the code?
how can I use the edit->search include topology option in a macro? I think this is what I need.
I want to select all faces with on color ("orange") in a product consisting of two parts.
Here's my code:
Set oSelection = CATIA.ActiveDocument.Selection
oSelection.Clear
oSelection.Search("Topology.CGMFace.Color='(155,200,145)',all")
all I get in return is one part
using edit->search with same settings, I get all the faces I want
what's wrong with the code?
how can I use the edit->search include topology option in a macro? I think this is what I need.