Hot to add a driven dimension?

Hot to add a driven dimension?

Anonymous
Not applicable
629 Views
2 Replies
Message 1 of 3

Hot to add a driven dimension?

Anonymous
Not applicable

Hi,

 

What I try to do can be done easily in the editor, but I cannot find documentation on how to code it.

 

I have 2 lines formed by 3 points (2 edges).

 

line1 = sketch.project(cornerEdge0).item(0)

line2 = sketch.project(cornerEdge1).item(0)

 

AngleBetween = sketch.sketchDimensions.addAngularDimension(line1, line2, utils.findMidPoint(line1))

 

Since these ar projected, they are already constrained (I and want to keep it this way to make sure further modification of the edges will impact the new stuff)

 

The problem is, when trying to add the Angular dimension, I get the "Overconstrained" error message.

I want this dimension to be driven since it is only a step in the process of getting some other value (half angle constraint between edges)

 

Is there any way to specify that I DO want the addAngularDimension to be a driven dimension, and get no error?

 

Many thanks

 

 

 

 

0 Likes
630 Views
2 Replies
Replies (2)
Message 2 of 3

ekinsb
Alumni
Alumni

When the API was added to create sketch dimensions, Fusion didn't support driven dimensions.  We need to update the API to support the creation of driven dimensions.  I don't know of any workaround at the present.


Brian Ekins
Inventor and Fusion 360 API Expert
Mod the Machine blog
0 Likes
Message 3 of 3

Anonymous
Not applicable

Alright..

Is this feature in the todo list for anytime soon?

 

 

0 Likes