attribute default value

attribute default value

macdacad
Contributor Contributor
4,017 Views
5 Replies
Message 1 of 6

attribute default value

macdacad
Contributor
Contributor

Hi

 

How do I stop the Edit attribute window from opening every time I insert a dynamic block.  Attribute contains default value, which I thought prevented Edit window from opening automatically.  I only want it to open when I double click on the attribute.

0 Likes
Accepted solutions (2)
4,018 Views
5 Replies
Replies (5)
Message 2 of 6

Anonymous
Not applicable

Hi,

 

I did some google search and found this:

 

Set ATTREQ=0 and it will work. In this way default value will be accepted without asking.

 

I hope this is what you want. I tried to insert and it works.

 

Cheers

Message 3 of 6

Anonymous
Not applicable

By the way,

 

I just tried and to change it back to default when on inserts you are asked for values, set ATTREQ=1

 

Cheers

0 Likes
Message 4 of 6

Libbya
Mentor
Mentor
Accepted solution

If you want to disable the attribute window on insertion for a specific block but not all blocks, you can open that block in block editor, select the attributes within that block, go to properties, and change 'preset' to YES.  With attreq=1 if a block contains any attributes that are preset=no, the attribute window will pop up on insertion.  Only the attributes that are preset=no will show up in the attributes window.  If all attributes are preset=yes, the window will not pop up. 

Message 5 of 6

Anonymous
Not applicable

You have been very helpful.

0 Likes
Message 6 of 6

john.vellek
Alumni
Alumni
Accepted solution

Hi @macdacad,

 

There have been some good solutions mentioned in the thread such as using ATTREQ variable and also using Block Edit to change the Preset value of the attribute to "yes". This can also be done using BATTMAN and editing the attribute properties for Preset Value.

Capture.PNGCapture2.PNG

 

Please hit the Accept as Solution button if my post or another fully solves your issue or answers your question.


John Vellek


Join the Autodesk Customer Council - Interact with developers, provide feedback on current and future software releases, and beta test the latest software!

Autodesk Knowledge Network | Autodesk Account | Product Feedback
0 Likes