Creates an instance of this attribute on the specified object with the specified options.
.NET Syntax
Visual Basic (Usage) | |
---|
Dim instance As IAttributeDef
Dim OwnerDoc As ModelDoc2
Dim OwnerObj As Object
Dim NameIn As String
Dim Options As Integer
Dim ConfigurationOption As 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