Adds a custom property to a configuration or model document.
.NET Syntax
Visual Basic (Usage) | |
---|
Dim instance As ICustomPropertyManager
Dim FieldName As System.String
Dim FieldType As System.Integer
Dim FieldValue As System.String
Dim OverwriteExisting As System.Integer
Dim value As System.Integer
value = instance.Add3(FieldName, FieldType, FieldValue, OverwriteExisting) |
Parameters
- FieldName
- Name of custom property
- FieldType
Type of custom property as defined in swCustomInfoType_e
- FieldValue
- Value of custom property
- OverwriteExisting
- Overwrite option as defined in swCustomPropertyAddOption_e
Return Value
Result code as defined in
swCustomInfoAddResult_e
Example
See Also
Availability
SOLIDWORKS 2014 FCS, Revision Number 22.0