Jump to content

Layer criteria as variable [=GetLName(ActLayer)]

Recommended Posts


has anybody an idea why this doesn't work?

I want to replace a fixed Layer Criteria with a variable so this:

SelectObj(L='Layer1'); works fine but something like:


layerName : String;


layerName := GetLName(ActLayer);



The VectorScript Language Guide says:

"Layer (L)

The layer attribute type will search for objects on the specified layer. The search value should be a

STRING value which is up to 64 characters in length (literals and variables are supported)."

so I wonder where my mistake is - or is this a bug?


Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...