Message 1 of 3
Edit Chamfer Precision with iLogic
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I'm attempting to make a rule which will edit the precision of selected Chamfer Notes.
I am able to change the Linear Precision Enum as the MessageBox outputs a different value when I change it but it has no effect on the actual precision which is displayed on the chamfer note on the drawing. So I have no idea what the problem is.
Here is the code so far. Thanks in advance!
Dim oDoc As DrawingDocument = ThisDoc.Document Dim oSheet As Sheet = oDoc.ActiveSheet Dim oChamferNote As ChamferNote Dim oSSet As SelectSet = oDoc.SelectSet For Each oChamferNote In oSheet.DrawingNotes.ChamferNotes oChamferNote.DimensionStyle.LinearPrecision = 41729 oChamferNote.DimensionStyle.AngularPrecision = 42241 MessageBox.Show(oChamferNote.DimensionStyle.LinearPrecision) Next