Can somebody point the way to the API for interfacing with parametric features already in a drawing? Basically take values fed into .NET to change the existing parametric dimensions so the geometry will auto update. Is this just a standard drill down into a table to find the needed dimension label and starting a transaction to change the value or does the new API have specific methods for doing this?
Solved! Go to Solution.
Solved by moogalm. Go to Solution.
You need to use AssocVariable.SetExpression API to update params in drawing ,yes what you mentioned is the standard procedure to access\modify a param. I believe you are aware of these blogs which speaks about AssocNetwork framework API.
-A simplified .NET API for accessing AutoCAD parameters and constraints
-Working With Associtative Params
http://adndevblog.typepad.com/autocad/2012/03/working-with-associative-parameters-from-api.html
Is there any COM/ActiveX object or other COM API which does the same thing which is done by AssocVariable.SetExpression in .NET form?
@moogalm wrote:
You need to use AssocVariable.SetExpression API to update params in drawing ,yes what you mentioned is the standard procedure to access\modify a param. I believe you are aware of these blogs which speaks about AssocNetwork framework API.
-A simplified .NET API for accessing AutoCAD parameters and constraints
-Working With Associtative Params
http://adndevblog.typepad.com/autocad/2012/03/working-with-associative-parameters-from-api.html