Visual LISP, AutoLISP and General Customization

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

Script, Attribute

96 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 (96 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 (96 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

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community