Visual LISP, AutoLISP and General Customization

Visual LISP, AutoLISP and General Customization

Reply
*Engineers, Metz
Message 1 of 3 (97 Views)

Script, Attribute

97 Views, 2 Replies
03-01-2000 07:06 AM
<<< Message <89j4dh$2r719@adesknews2.autodesk.com> was originally posted to 'autodesk.autocad.r14general' on Wed, 1 Mar 2000 07:42:58 -0500.>>>

I have a project with 50 sheets
I need to change some information in my title block (attribute).
Instead of openning 50 Drawings then uptdating my attribute, is there
another way to do that by using a script?
(I have no experience with script!)

KH
*LOURDELLE, Didier
Message 2 of 3 (97 Views)

Re: Script, Attribute

03-01-2000 08:55 AM in reply to: *Engineers, Metz
I am not use Version english
Script for version French

_ZOOM _E
;; commande d'edition des attributs / Edit Attributs For AutoCAD 20000
_-Attedit
_attedit
;;Edition des attributs un par un? /
_y
;;spécification Nom du bloc <*>:

;;spécification Etiquette de l'attribut <*>:
NPLANAFF
;;spécification Valeur de l'attribut <*>:

;;Sélection des attributs:
C (GETVAR "VSMIN") (GETVAR "VSMAX")
;;Valeur/POsition/Hauteur/Angle/Style/CAlque/COuleur/suivaNt : _v
(valeur)
_v
;;Changer ou Remplacer? : _r
_r
;;Nouvelle valeur de l'attribut:
.
;;
--------------------------------------------
Script English
_ZOOM _E
;; For AutoCAD 2000
_-attedit
_y

;;Attribut <*>:
NPLANAFF
;;Value attribut

;;Sélection des attributs:
C (GETVAR "VSMIN") (GETVAR "VSMAX")
_v
;;Change ou Replace
_r
;;News Value

Didier Lourdelle
\|||/
(o o)
-----oo0-(_)-0oo-----
Site Web Pro http://www.didier-lourdelle.fr/
Trucs & Astuces Sur Autocad http://www.didier-lourdelle.fr/tasa/index.htm

Metz Engineers a écrit dans le message :
89jbl7$5kh7@adesknews2.autodesk.com...
> <<< Message <89j4dh$2r719@adesknews2.autodesk.com> was originally posted
to 'autodesk.autocad.r14general' on Wed, 1 Mar 2000 07:42:58 -0500.>>>
>
> I have a project with 50 sheets
> I need to change some information in my title block (attribute).
> Instead of openning 50 Drawings then uptdating my attribute, is there
> another way to do that by using a script?
> (I have no experience with script!)
>
>
> KH
*Ashley
Message 3 of 3 (97 Views)

Re:

03-02-2000 11:44 AM in reply to: *Engineers, Metz
I'm trying to do a similar thing, and seem to have everything working except
the following line:

C (GETVAR "VSMIN") (GETVAR "VSMAX")
I changed it to:
C (GETVAR,VSMIN) (GETVAR,VSMAX)

and got the error message 'AutoLisp command is not available.'

Est ce que tu peut m'aider? (Can you help me?)

Is this command for R14? Or do I just have to turn Lisp on in LT98?

Thanks,
Ashley

Didier LOURDELLE wrote:

> I am not use Version english
> Script for version French
>
> _ZOOM _E
> ;; commande d'edition des attributs / Edit Attributs For AutoCAD 20000
> _-Attedit
> _attedit
> ;;Edition des attributs un par un? /
> _y
> ;;spécification Nom du bloc <*>:
>
> ;;spécification Etiquette de l'attribut <*>:
> NPLANAFF
> ;;spécification Valeur de l'attribut <*>:
>
> ;;Sélection des attributs:
> C (GETVAR "VSMIN") (GETVAR "VSMAX")
> ;;Valeur/POsition/Hauteur/Angle/Style/CAlque/COuleur/suivaNt : _v
> (valeur)
> _v
> ;;Changer ou Remplacer? : _r
> _r
> ;;Nouvelle valeur de l'attribut:
> .
> ;;
> --------------------------------------------
> Script English
> _ZOOM _E
> ;; For AutoCAD 2000
> _-attedit
> _y
>
> ;;Attribut <*>:
> NPLANAFF
> ;;Value attribut
>
> ;;Sélection des attributs:
> C (GETVAR "VSMIN") (GETVAR "VSMAX")
> _v
> ;;Change ou Replace
> _r
> ;;News Value
>
> Didier Lourdelle
> \|||/
> (o o)
> -----oo0-(_)-0oo-----
> Site Web Pro http://www.didier-lourdelle.fr/
> Trucs & Astuces Sur Autocad http://www.didier-lourdelle.fr/tasa/index.htm
>
> Metz Engineers a écrit dans le message :
> 89jbl7$5kh7@adesknews2.autodesk.com...
> > <<< Message <89j4dh$2r719@adesknews2.autodesk.com> was originally posted
> to 'autodesk.autocad.r14general' on Wed, 1 Mar 2000 07:42:58 -0500.>>>
> >
> > I have a project with 50 sheets
> > I need to change some information in my title block (attribute).
> > Instead of openning 50 Drawings then uptdating my attribute, is there
> > another way to do that by using a script?
> > (I have no experience with script!)
> >
> >
> > KH
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.