Jump to content

changing layer by typing layer name (string)


Recommended Posts

Posted

Hi,

 

I have written script to change to a layer and then print it.

 

The script uses USERI to change to a numeric layer.

 

The layer names are Mostly numbers, 001 002 003 etc.

 

but occasionally we get a different sized border and name the layer 003+BORDER.

 

When you try to change to the layer 003+BORDER it attempts a calculation.

 

Is there a way to change to a layer with a text in?

 

thanks in advanced.

Posted

You can not store a string in a user or useri but will work with users1 etc

 

Real

Integer

String

Posted

When i type in users1 or users, it says unknown cammond is this because i am on LT?

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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...