Quantcast
Channel: Autodesk AutoCAD forums
Viewing all articles
Browse latest Browse all 14319

Changing MLeaderStyle - annotation scale.

$
0
0

Hello Forum,

 

I have code that changes the MLeaderStyle property of a MLeader object.

When I run the code, the current annotation scale is added to the MLeader and set as current. I don't want this to happen, but this happens automatically.

 

Any idea what could cause this?

 

Code:

 

MLeader objMLeader;
DBDictionary dbdMLStyles;
string strMLeaderStyleNew;
...
objMLeader.UpgradeOpen();
objMLeader.MLeaderStyle = (ObjectId)dbdMLStyles[strMLeaderStyleNew];
objMLeader.DowngradeOpen();

 

Thank you.

 

 


Viewing all articles
Browse latest Browse all 14319

Trending Articles