Community
Civil 3D Forum
Welcome to Autodesk’s Civil 3D Forums. Share your knowledge, ask questions, and explore popular AutoCAD Civil 3D topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Attribute Definition List

6 REPLIES 6
SOLVED
Reply
Message 1 of 7
NV-Surveyor
647 Views, 6 Replies

Attribute Definition List

Hey Everyone,

I've been using a title block for years that has attributes in it and I'm looking to have a list of my clients that I can "automatically" get from a list (if possible).

 

So far, I've created a Property Set list with my clients - fine.

 

I can then associate said list with my attribute and I can see the list (in Properties); however, when I pull the list down and select any given client I cant get the attribute to update.  It remains with the Tag that it was created with.

 

Ultimately, I'd like to be able to have the list available when inserting my title block and/or be able to update the client name without typing it each time.

 

Is there a step I'm missing?  Can this be done?

6 REPLIES 6
Message 2 of 7
Joe-Bouza
in reply to: NV-Surveyor

this can be down using a dynamic block Lookup table tied to the attribute. Not that difficult ask more if needed 

Joe Bouza
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

Message 3 of 7
NV-Surveyor
in reply to: Joe-Bouza

Thanks for the reply, Joe.

 

Can you elaborate for me?  Not sure I understand.

 

Thanks!

Message 4 of 7
samir.rezk
in reply to: NV-Surveyor

Hi @NV-Surveyor 

 

@Joe-Bouza idea of using a Lookup action in a Dynamic Block is a great way I think! Property Set Data can not be referenced in an AutoCAD Field or Block Attribute! Here is some more information on the Lookup Action (note that while you'll need to create a parameter for the action, it is really not necessary to use or show the parameter control grip in any way for the title block)

 

Hope this helps, 




Samir Rezk
Technical Support Specialist

Message 5 of 7
Joe-Bouza
in reply to: NV-Surveyor

I will assume you are unfamiliar with Dynamic blocks and try to make it simple. Dynamic blocks can be simple but things can become complex quickly.

 

Lookups can be a list of outputs for a specific lookup and the output can be assigned to an attribute value via a field assignment in the attributes "default" value. In this case we want to use a special field called "BlockPlaceholder". more in a bit. The output relies on a certain input. this can be as simple or complex as you can imagine. for this exercise I suggest using the "visibility state" available to dynamic blocks.  

 

Visibility States ordinarily turn things on and off. you could accomplish this task with Visibility states alone but the lookup is more elegant IMHO.

 

step 1 enter the block editor

step 2 create Visibilty state for each client and set the Visibilty to be on for all states 

step 3 add a Lookup parameter

step 4 add a Lookup action

4.1 create a visibility state for each client

step 5 create an attribute for "Client" set to be visible in all states

step 6 in the attribute default  set to BlockPlaceholder and choose the Lookup created in 3,4

 exist block editor ans save.

reinsert the block and sync the attributes. 

 

that's basically it. I know it can be daunting if you have not played with Dynamic blocks and parameters. If you have trouble post the block and client list

 

JoeBouza_0-1649163312384.png

 

JoeBouza_1-1649163458527.png

 

 

 

 

 

 

Joe Bouza
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

Message 6 of 7
NV-Surveyor
in reply to: Joe-Bouza

Thank you, Joe.

 

That is exactly what I was looking for!  To be honest, it took me a couple of days to (with work and all) to really dig in and look at videos to understand.  You've really helped me out!

 

This has opened my eyes to a whole other world in Civil 3d.  I'm going to post a block of mine that I need assistance with.  Perhaps, you can help me with correctly assigning actions to it.

 

In any case, I appreciate your time!

Message 7 of 7
Joe-Bouza
in reply to: NV-Surveyor

i'LL TRY

Joe Bouza
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

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

Post to forums  

Rail Community


 

Autodesk Design & Make Report