08-22-2024
12:51 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
08-22-2024
12:51 AM
Hello @dhanshri_gavas
RenderStyles are obsolete and is no longer supported. You need to use Assets and its AssetValues instead.
This simple rule prints the ActiveAppearance.AssetValues to iLogic log window. You can choose which one is important for you.
Dim result As New System.Text.StringBuilder()
result.AppendLine("AssetValues")
Dim part As PartDocument = ThisDoc.Document
For Each oAssetValue As AssetValue In part.ActiveAppearance
result.AppendFormat("{1}{0}{2}{0}{3}" & vbCrLf, vbTab, oAssetValue.DisplayName, oAssetValue.Name, oAssetValue.ValueType)
Next
Logger.Debug(result.ToString)