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

Problem insert block which attributes cad 2014

3 REPLIES 3
SOLVED
Reply
Message 1 of 4
andresep82
1901 Views, 3 Replies

Problem insert block which attributes cad 2014

Hello again¡¡¡

 

I am testing de new version of autocad 2014 and i have a problem which me lips.

 

when i use

(command "_insert" "block1" pt1 "" "" ""  obj1 )

The block is inserted but without value. In the old version work.Some variable that has to change?

 

Sorry for my english.

 

 

 

 

3 REPLIES 3
Message 2 of 4
_Tharwat
in reply to: andresep82

Consider the following as an example only . (assume that your Attributed Block has only one attribute )

 

(setq att (getvar 'attdia))
(setvar 'attdia 0)
(command "_.-insert" "block1" "_none" pt1 "" "" "Tharwat")
(setvar 'attdia att)

 

Message 3 of 4
pbejse
in reply to: andresep82


@andresep82 wrote:

Hello again¡¡¡

 

I am testing de new version of autocad 2014 and i have a problem which me lips.

 

when i use

(command "_insert" "block1" pt1 "" "" ""  obj1 )

The block is inserted but without value. In the old version work.Some variable that has to change?

 

Sorry for my english.

    


or more likely ATTREQ 0 to 1

 

Message 4 of 4
andresep82
in reply to: andresep82

thanks¡¡¡¡¡

 

 

 

ATTREQ 1,   It has been the solution.

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

Post to forums  

Autodesk Design & Make Report

”Boost