Cancel
Showing results for 
Search instead for 
Did you mean: 

How to only select all objects in the layer?

Pioneer
Pioneer

    we use mask to change the selectable status associated with a particular object type to valid or invalid in grip.Regardless of whether the object has been hidden, how to only select all objects in the layer 1 and layer 3 and make it all displayed in grip.

1 REPLY

Re: How to only select all objects in the layer?

Valued Contributor
Valued Contributor

It's a long time since I used GRIP. So this is just a hint:

$$ Search for POINTs on layer 1
ENTITY/ELE   
BLANK/ALL $$ Blank all 
   
INEXTE/ALL,WORK

   ELE=NEXTE/IFEND,LDONE:
   IFTHEN/&TYPE(ELE) == 2 AND &LAYER(ELE) == 1 $$ if point on layer 1
      UNBLANK/ELE $$ Unblank point
   ENDIF
LDONE:

Hope this helps

 

Herbert Macho
EBNER Industrieofenbau
AUSTRIA

NX10.0.3.5 (TeamCenter10 and Native)