Message 1 of 13
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I have a very useful iLogic but it has a minor bug. Could someone fix that?
iLogic changes in all drawing sheets dimension style. But If I have a chain dimension then it does not change the type of terminator, for example filed to oblique
before
after run rule
Dim oDDoc As DrawingDocument = ThisDrawing.Document
Dim oDStyle As DimensionStyle
For Each oDimStyle As DimensionStyle In oDDoc.StylesManager.DimensionStyles
If oDimStyle.Name.Contains("Brigada Style 2") Then
oDStyle = oDimStyle
End If
Next
Dim oSheet As Sheet
Dim oDims As DrawingDimensions
For Each oSheet In oDDoc.Sheets
oDims = oSheet.DrawingDimensions
For Each oGDim As GeneralDimension In oDims.GeneralDimensions
oGDim.Style = oDStyle
Next
For Each oODim As OrdinateDimension In oDims.OrdinateDimensions
oODim.Style = oDStyle
Next
For Each oODimSet As OrdinateDimensionSet In oDims.OrdinateDimensionSets
oODimSet.Style = oDStyle
Next
For Each oCHDimSet As ChainDimensionSet In oDims.ChainDimensionSets
oCHDimSet.Style = oDStyle
Next
For Each oBLDimSet As BaselineDimensionSet In oDims.BaselineDimensionSets
oBLDimSet.Style = oDStyle
Next
Next
Solved! Go to Solution.