Possible bug in addDiameterDimension

dirktheeng
Advocate

Possible bug in addDiameterDimension

dirktheeng
Advocate
Advocate

I am not sure, but there may be a bug in addDiameterDimension.  It seems to be inconsistent on weather or not it adds a dimension in the sketch that the user can interact with based on where you put the txtPoint.  If you make a circle by center and radius and then put the txtPoint at the center, it won't add it in the sketch.  However, it will end up in the model parameters.

 

Not sure if there is some kind of logic that determines if it shows up in the sketch, but I would think that it should show up all the time.  If there is some logic, could you let me know it is?

21st Century Woodworking

-Blending 21st Century Woodworking with Old World Skill
0 Likes
Reply
Accepted solutions (1)
482 Views
1 Reply
Reply (1)

marshaltu
Autodesk
Autodesk
Accepted solution

Hello,

 

Thank you for reporting the issue to us.

 

It should be invalid input if we use center point of a circle or radius as text point. We need center point, text point to define the line direction of diameter dimension. If the two points are identical, we have no idea how the line of diameter dimension should be created. The method addDiameterDimension should fail in the case. Unfortunately we didn't validate the input so that faked "dimension" was created. 

 

We will correct the behaviour in future releases.

 

Thanks,

Marshal



Marshal Tu
Fusion Developer
>
0 Likes