Creates an attribute definition, which is the first step in generating attributes.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function IDefineAttribute( _
ByVal Name As String _
) As AttributeDef |
Visual Basic (Usage) | |
---|
Dim instance As ISldWorks
Dim Name As String
Dim value As AttributeDef
value = instance.IDefineAttribute(Name)
|
C# | |
---|
AttributeDef IDefineAttribute(
string Name
) |
C++/CLI | |
---|
AttributeDef^ IDefineAttribute(
& String^ Name
) |
Parameters
- Name
Name to give to the attribute definition; the name must be unique and qualified among the attributes defined in the current session (see Remarks)
Return Value
Attribute definition
Remarks
See Also