Skill Qn: How to get setof non-rod shapes in cv

  • Thread starter Suresh Jeevanandam
  • Start date
S

Suresh Jeevanandam

Guest
Hi all,
If I do

myShapes = car(setof(elem cv->lpps elem->layerName == "MYLAYER"))->shapes

It gives all the shapes with layerName == "MYLAYER". However, I want
only the flat shapes that are not part of a rod path/rectangle.

I tried to use rodIsObj. But no success. Is there any other way?

Thanks in advance,
Suresh J
 
l_roddbIds = rodGetNamedShapes( cv )~>dbId
l_nonRoddbIds = setof( shape cv~>shapes shape~>layerName == "MYLAYER" )

setof( elem l_nonRoddbIds !member( elem l_roddbIds ) )

Bernd


Suresh Jeevanandam wrote:
Hi all,
If I do

myShapes = car(setof(elem cv->lpps elem->layerName ==
"MYLAYER"))->shapes

It gives all the shapes with layerName == "MYLAYER". However, I want
only the flat shapes that are not part of a rod path/rectangle.

I tried to use rodIsObj. But no success. Is there any other way?

Thanks in advance,
Suresh J
 
Bernd,
Thanks for the response.
It still returns the objects that are part of the MPP.
( I am using icfb version 5.10.41... )

regards,
Suresh J

Bernd Fischer > wrote:
l_roddbIds = rodGetNamedShapes( cv )~>dbId
l_nonRoddbIds = setof( shape cv~>shapes shape~>layerName == "MYLAYER" )

setof( elem l_nonRoddbIds !member( elem l_roddbIds ) )

Bernd


Suresh Jeevanandam wrote:

Hi all,
If I do

myShapes = car(setof(elem cv->lpps elem->layerName ==
"MYLAYER"))->shapes

It gives all the shapes with layerName == "MYLAYER". However, I
want only the flat shapes that are not part of a rod path/rectangle.

I tried to use rodIsObj. But no success. Is there any other way?

Thanks in advance,
Suresh J
 

Welcome to EDABoard.com

Sponsor

Back
Top