I would like to pass parameter values to an Autocad parametric block in a .net application. A simple parameter is "d1" (distance).
I am writing a kind of complex asp.net product comfigurator applciation that shuold generate a 2D dxf file based on the user input. I use Unity webgl to render the 3D in the webpage, but i also need to create a dxf file at runtime because a Autocad compatible 2D section is in the requirements.
To avoid to create the section from scratch I found that parametric blocks could be a solution: a designer provides me a very complex parametric block and i pass to it the parameters at runtime so that the output file could be donwloaded.
Somehow two tasks are needed:
1) pass the parameters to a parametric block
2) save it to simple dxf (i am not interested it is a parametric block after parameters have been passed)
I was not able to figure out to perform this in .net.