Jump to content

How to change block attribute layer


AUTOSLIP

Recommended Posts

Hello,

 

I'm searching to make a LISP, to change the layer of an attribute.
Actually it in "TopoAlt" Layer, I like to change in "0" layer (or other)

 

I thinked about  DXF code but i don't find it with dumpallproperties.

"Battman" command would be a good solution but I can't make script

"-eattedit" command is pretty close but I'm stopped when It need " attribute selection".

 

If i could scripting "-eattedit" with an automatic attribute selection (like an already made SSGET), I could change the layer, or other properties !

 

 

Any Idea ?

Link to comment
Share on other sites

  • 4 months later...

Did anyone ever respond to you question?

 

I am trying do a similar operation, I have a lisp routine which convers a polyline into a block with 3 attributes, SpaceID, Area, and BlockHandle which are all on one layer for the blocks and attibutes.

 

The routine works fine, but I now need to change the layer of both SpaceID and Area on to two different layers called Spaces and SAreas. I can work out how to change just the layer of the attributes. I know it can be done as I can do it via selecting block and changing layer manually. I am just looking for a bit of lisp which will change the layer of the attributes after block is created

 

Link to comment
Share on other sites

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...