Message 1 of 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I need a VBA code to unflag the "Use Thickness from Rule" in the sheet metal style property.
I tried the "ThisDoc.Document.ComponentDefinition.UseSheetMetalStyleThickness = False" but give me a debug error.
Also the following code:
Sub ChangeUseThicknessFromRule() Dim doc As PartDocument Set doc = ThisApplication.ActiveDocument Dim cd As SheetMetalComponentDefinition Set cd = doc.ComponentDefinition cd.UseSheetMetalStyleThickness = False End Sub
Not sure where is the error.
Thanks,
Nicola
Solved! Go to Solution.