Hi all!
I'm trying here to change the property DESIGN STATE from my drawing, but I always got one error of invalid Arg.
I tried some codes found here in the forum and those from IV programming Help, but even using these codes i got the same error, did i forget to put something in the code ? Even to read the value i get the error:
Dim oDoc As Document oDoc = ThisApplication.ActiveDocument ' Obtain the PropertySets collection object
Dim oPropsets As PropertySets oPropsets = oDoc.PropertySets Dim oPropSet As PropertySet oPropSet = oPropsets.Item("{32853F0F-3444-11d1-9E93-0060B03C1CA6}") Dim oProp As String oProp = oPropSet.ItemByPropId(kDesignStatusDesignTrackingProperties).Value
I just need to set this kDesignStatusDesignTrackingProperties to 0, 1, 2 or 3. Do I have to load any other parameter before use it ?
Thanks!
Túlio Barata
Hi,
Is that an error when you compiling or running?
if compiling: try this:
oProp = oPropSet.ItemByPropId(PropertiesForDesignTrackingPropertiesEnum.kProjectDesignTrackingProperties).Value