- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello Forum,
I have been working on drawing automation and can't figure out how to make a dimension move from between the centrelines. I have a rule that adds the some dimensions as IManagedLinearGeneralDimensions like this abstraction:
motorDia = genDims.AddLinear("MotorDia", shaftView.SheetPoint(-0.25, 1.4), shaftBottom, shaftTop)
If someFlag Then
motorDia.NativeEntity.Style = newStyle
End If
motorDia.NativeEntity.Text.FormattedText = "Ø <DimensionValue/>"
keyToCtr = genDims.AddLinear("keyToCtr", shaftView.SheetPoint(-0.2, 0.75), keyTop, midplane)After running my rule:
Desired effect:
What is the iLogic required to make the dimension appear like that, given that the formatted text must be edited, and the dimension's style could be changed (to also giving the inch measurements on top of mm) given some flag's state?
The desired effect above could be called a "translation right". There is also the case that a "translation left" needs to be made. Will the code to do this differ in an unexpected way?
Thank you!
Solved! Go to Solution.