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 TugboatEng on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Deselection the Planes those Selected as Surface 1

Status
Not open for further replies.

kafasin

Automotive
Joined
Jul 23, 2019
Messages
2
Location
DE
Hello All,

When I am trying to search all Surfaces to select (using "CatPrtSearch.Surface, All"), Selection contains also the Planes.

Is there any way to deselect those Planes that been selected during the search?

Thanks in advance

Set productDocument1 = CATIA.ActiveDocument
Set selection1 = productDocument1.Selection

selection1.Search "CatPrtSearch.Surface,All" '(But without Planes!)
 
Hi kafasin.

Try this.
Code:
selection1.Search "(CATPrtSearch.Surface - CATPrtSearch.Plane),all"
 
It is working.

Thank you very much kantoku.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top