Creates an instance of this attribute on the specified object with the specified options.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function CreateInstance5( _
ByVal OwnerDoc As ModelDoc2, _
ByVal OwnerObj As System.Object, _
ByVal NameIn As System.String, _
ByVal Options As System.Integer, _
ByVal ConfigurationOption As System.Integer _
) As Attribute |
Visual Basic (Usage) | |
---|
Dim instance As IAttributeDef
Dim OwnerDoc As ModelDoc2
Dim OwnerObj As System.Object
Dim NameIn As System.String
Dim Options As System.Integer
Dim ConfigurationOption As System.Integer
Dim value As Attribute
value = instance.CreateInstance5(OwnerDoc, OwnerObj, NameIn, Options, ConfigurationOption) |
Parameters
- OwnerDoc
- Document whose FeatureManager design tree to which to add this attribute
- OwnerObj
Component or entity to which to add this attribute:
- NameIn
- Name to assign to this attribute instance (see Remarks)
- Options
- Creation control options (see Remarks)
- ConfigurationOption
- Configuration options as defined in swInConfigurationOpts_e
Return Value
Newly created
IAttribute object
Example
Remarks
See Also
Availability
SolidWorks 2003 SP1, Revision Number 11.1