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: 

Part Catalog Optional Parameter default value

3 REPLIES 3
SOLVED
Reply
Message 1 of 4
alexander.langenstein
389 Views, 3 Replies

Part Catalog Optional Parameter default value

alexander.langenstein
Contributor
Contributor

Hello

 

I have add some optional parameters to the structure properties.

Is it possible to set a default value? e.g. "see structure properties"

 

so if the planner uses the corresponding label, which is connected to the parameters, he/she sees that he/she has to change the value.

Part Catalog Optional Parameter default value

Hello

 

I have add some optional parameters to the structure properties.

Is it possible to set a default value? e.g. "see structure properties"

 

so if the planner uses the corresponding label, which is connected to the parameters, he/she sees that he/she has to change the value.

3 REPLIES 3
Message 2 of 4

MMcCall402
Mentor
Mentor

Try opening the part(s) in partbuilder, adding the parameters to the part, and then adding that default value.  Save, regen the catalog and give it a try.   (not sure if you may need to remove and replace the part in the parts list)

Mark Mccall 
CAD Mangler



Hammer Land Engineering


Linkedin

0 Likes

Try opening the part(s) in partbuilder, adding the parameters to the part, and then adding that default value.  Save, regen the catalog and give it a try.   (not sure if you may need to remove and replace the part in the parts list)

Mark Mccall 
CAD Mangler



Hammer Land Engineering


Linkedin

Message 3 of 4

Matheus-Lima
Advisor
Advisor

Hi @alexander.langenstein!

Take a look at this AU class by Joel O'Connell (page 8 of the handout is about editing xmls): https://www.autodesk.com/autodesk-university/class/Advanced-Customization-Pipe-Networks-AutoCAD-Civi...

Basically, you modified the "AeccPartParamCfg.xml" which declares the variables. Now, you may modify the "AeccSharedPropertyLists.xml", so you can include a list of options that is available for all structures and pipes of the catalog. Or another xml file to include the list to a specific part (make sure to create copies of the original xmls).

The first value of the list is your default. Figure from the handout, as example:

 

matheuslimaeng_0-1660242009700.png

 

Here, the default (item 0) is nothing, you can type something like "see structure properties". Item 1 is "Reinforced Concrete"... and so on.

Take a look at the handout I mentioned above, valuable information there. Hope it works!!

[PT-BR] Se essa postagem foi útil para você, clique em Curtir! Se a resposta resolveu o seu problema, clique em Aceitar Solução.
[EN-US] If it was helpful to you, click on Like! If the answer solved your problem, click on Accept Solution.

EESignature


Matheus Lima
Civil Engineer | BIM for Infrastructure Enthusiast | BIM Manager | Instagram @bim_infra | LinkedIn

Hi @alexander.langenstein!

Take a look at this AU class by Joel O'Connell (page 8 of the handout is about editing xmls): https://www.autodesk.com/autodesk-university/class/Advanced-Customization-Pipe-Networks-AutoCAD-Civi...

Basically, you modified the "AeccPartParamCfg.xml" which declares the variables. Now, you may modify the "AeccSharedPropertyLists.xml", so you can include a list of options that is available for all structures and pipes of the catalog. Or another xml file to include the list to a specific part (make sure to create copies of the original xmls).

The first value of the list is your default. Figure from the handout, as example:

 

matheuslimaeng_0-1660242009700.png

 

Here, the default (item 0) is nothing, you can type something like "see structure properties". Item 1 is "Reinforced Concrete"... and so on.

Take a look at the handout I mentioned above, valuable information there. Hope it works!!

[PT-BR] Se essa postagem foi útil para você, clique em Curtir! Se a resposta resolveu o seu problema, clique em Aceitar Solução.
[EN-US] If it was helpful to you, click on Like! If the answer solved your problem, click on Accept Solution.

EESignature


Matheus Lima
Civil Engineer | BIM for Infrastructure Enthusiast | BIM Manager | Instagram @bim_infra | LinkedIn
Message 4 of 4

sirjoelsph
Collaborator
Collaborator
Accepted solution

Hi - Joel the original author here.  Matheus is spot on about making sure that the list is set up correctly for a default to be assigned to your structure.  There might be a few steps before the list that you're missing also, so definitely check out the full handout.  Page 20 goes into the detail for all the steps necessary to add custom parameter's like you're trying to do.  It looks like you've done the declaration correctly, but still might have to assign the usages.  Let us know if you have any questions after reviewing the handout.

 

Good luck!

-JOEL

Hi - Joel the original author here.  Matheus is spot on about making sure that the list is set up correctly for a default to be assigned to your structure.  There might be a few steps before the list that you're missing also, so definitely check out the full handout.  Page 20 goes into the detail for all the steps necessary to add custom parameter's like you're trying to do.  It looks like you've done the declaration correctly, but still might have to assign the usages.  Let us know if you have any questions after reviewing the handout.

 

Good luck!

-JOEL

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

Post to forums  

Rail Community


Autodesk Design & Make Report