How to access dynamic parameter value descriptions (.NET/C#)

How to access dynamic parameter value descriptions (.NET/C#)

e.luengen
Explorer Explorer
405 Views
1 Reply
Message 1 of 2

How to access dynamic parameter value descriptions (.NET/C#)

e.luengen
Explorer
Explorer

Our need is to retrieve the value descriptions of parameters in dynamic blocks in AutoCAD drawings, especially of FlipParameters. Searching the forum I found a Post dealing with this, but unfortunately the solution was written in AutoLisp (How to access dynamic parameters as an entity name).

I tried to translate the provided code to C#, but couldn't find the necessary commands/approaches to do this.

The exact need is to retrieve the parameter value description of FlipParameters that can have values '0' and '1', where the needed descriptions can be 'Yes' or 'No, 'Left' or 'Right' and so on.
Can someone provide samples/tutorials (or even a translation to C# of the code sample mentioned above 🙂) that can help to get the solution work?

 

Thanks in advance.

0 Likes
406 Views
1 Reply
Reply (1)
Message 2 of 2

Libbya
Mentor
Mentor

Even though your question refers to Dynamic Blocks, this forum doesn't really deal with custom code.  You would be more likely to get a useful answer if you asked your question on one of the Customization forums that deal with custom code:

 

https://forums.autodesk.com/t5/autocad-customization/ct-p/AutoCADTopic1

 

 

0 Likes