RadialDimension problem

RadialDimension problem

MGO-Norsyn
Advocate Advocate
86 Views
5 Replies
Message 1 of 6

RadialDimension problem

MGO-Norsyn
Advocate
Advocate

I am creating RadialDimension entities for all arcs in my polylines in my dwg.

I am using Autodesk Developer Guide example for RadialDimensions for reference. I am very sure I am not making any errors, I have checked many times now, tried different stuff.

But the problem is that the newly created RadialDimensions do not appear until user AUDITs drawing and REGENs.

Can somebody tell me what is happening?

0 Likes
87 Views
5 Replies
Replies (5)
Message 2 of 6

ActivistInvestor
Mentor
Mentor

You shouldn't expect anyone to be able to tell you what your code is not doing correctly without seeing the code.

 

If auditing the drawing is required to display the dimensions, it usually means that the drawing is corrupt and errors are being corrected by the audit, and is why the dimensions appear at that point. 

0 Likes
Message 3 of 6

MGO-Norsyn
Advocate
Advocate

We have found out that if we run the command on a fresh drawing from basic acadiso template, the command works -- dimension appears immediately.

But when I copy a Radial Dimension from another drawing that has our correctly styled dimensions, the command stops working as intended and our RadialDimensions starts only appearing after audit/regen.

Can an Entity be corrupt and thus corrupting the drawing when copied from another drawing?

0 Likes
Message 4 of 6

ActivistInvestor
Mentor
Mentor

@MGO-Norsyn wrote:

We have found out that if we run the command on a fresh drawing from basic acadiso template, the command works -- dimension appears immediately.

But when I copy a Radial Dimension from another drawing that has our correctly styled dimensions, the command stops working as intended and our RadialDimensions starts only appearing after audit/regen.

Can an Entity be corrupt and thus corrupting the drawing when copied from another drawing?


That depends on how you are copying The Entity. Are you using the clipboard? Are you using WblockCloneObjects? Or something else? 

0 Likes
Message 5 of 6

MGO-Norsyn
Advocate
Advocate
This was just through clipboard.
0 Likes
Message 6 of 6

ActivistInvestor
Mentor
Mentor

Are the entities or Dimensions that you are copying to another drawing ones that were created by your code, or by AutoCAD commands?

 

You can also post an example drawing file containing dimensions that you copied to it and maybe somebody can spot something. 

0 Likes