Alan Lowbands
Aerospace
- May 17, 2017
- 274
Hi All,
I'm stumped again and hoped someone may have a simple solution.
I'm trying to auto-populate a drawing sheet. I have managed to get everything I need except the drawing scale.
This code gets it but its not in a ratio format.
Set at a scale of 10:1 it reports 0.1
Is there a way of getting it to report it as 10:1 ?
Set oFrontViewScale = DrwSheet.Views.Item(3)
oScale = oFrontViewScale.scale
Set DrwText = DrwTexts.GetItem("Text.223M") 'Sheet Scale
DrwText.text = oScale
thanks
Alan
I'm stumped again and hoped someone may have a simple solution.
I'm trying to auto-populate a drawing sheet. I have managed to get everything I need except the drawing scale.
This code gets it but its not in a ratio format.
Set at a scale of 10:1 it reports 0.1
Is there a way of getting it to report it as 10:1 ?
Set oFrontViewScale = DrwSheet.Views.Item(3)
oScale = oFrontViewScale.scale
Set DrwText = DrwTexts.GetItem("Text.223M") 'Sheet Scale
DrwText.text = oScale
thanks
Alan