Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross 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
Jul 23, 2019
2
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!)
 
Replies continue below

Recommended for you

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