10-23-2019
02:42 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
10-23-2019
02:42 PM
Hi Forum,
I have two different Part List Styles that I use on my drawings and I am trying to write a code to switch in between them. Lets say I have a Part List Style named as "Style One" and "Style Two". Here's what I got so far:
Dim oDrawDoc As DrawingDocument = ThisApplication.ActiveDocument Dim oPartsList As PartsList = oDrawDoc.ActiveSheet.PartsLists(1) oPartsList.Style() = "Style Two"
This code doesn't seem to work. Anyone have an idea?
Thanks,
- Felix Cortes
Solved! Go to Solution.