Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

attribute modification

2 REPLIES 2
Reply
Message 1 of 3
darryl.m.bowen
255 Views, 2 Replies

attribute modification

block name 

REV_DESC

tags

REVNO1, DATE1, DESC1, CAD1, CHKD1,APVD1

Each attribute has a unique tag, just change the 1 to 2, 3, 4, 5, 6, 7

Want to be able to have a lisp that will be able to fill in the revision data with some preset information and inputed data.

example lisp name/command "REVA" will be for the tags ending in 1

Revno1 = A

Date1 = get current date

Desc1 = inputed by me

Cad1 = DMB

Chkd1 = ROB

Apvd1 = PM

 

lisp/command "REVB"

Revno2 = B

Date2 = get current date

Desc2 = inputed by me

Cad2 = DMB

Chkd2 = ROB

Apvd2 = PM

 

 

Now the fun part I would also like it to change the Revison number in another block at the same time to match the current revison command from above.  So if I run REVE the drawing revision in the title block will also update.

 

that block name is SBC_TITLE

and the tag name is REVNO

 

thank you.

2 REPLIES 2
Message 2 of 3
3wood
in reply to: darryl.m.bowen

Please try attached ALTEXT.vlx.

 

Command: ALTEXT

Select objects: ALL

Select objects: (Enter)

Which attribute to be changed (Enter 0 to search attribute tag name): Attribute No.<1>: 0

Enter search pattern: Revno1

Settings as below:

altext.png

Press OK to update all attribute with tag name Revno1 to "A".

 

Repeat above steps, change tag name search pattern and "New text" in the settings dialogue box.

 

Message 3 of 3
hmsilva
in reply to: darryl.m.bowen

Hi Darryl,
do you have already any code that you have started, just post it, we'll help you to finish it.
If not, post a dwg with the blocks...

Henrique

EESignature

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost