10-24-2016
02:59 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
10-24-2016
02:59 AM
Hi Limin,
I used the same code in Inventor 2017 for removing the authoring for Cable and Harness and it seems to be working at my end.
Below is the code that I used to test at my end. This code is used to clear a value of a property that is set while authoring.
Sub RemoveAuthoringInfo()
Dim oProperty As Property
Set oProperty = ThisApplication.ActiveDocument.PropertySets.Item("32853F0F-3444-11d1-9E93-0060B03C1CA6").ItemByPropId(56)
oProperty.Value = ""
End Sub
If it is still not working at your end, could you let me know what version of Inventor you are using?
Regards,
Sajith

Sajith Subramanian
Autodesk Developer Network