Creates an attribute definition, which is the first step in generating attributes.
.NET Syntax
| Visual Basic (Declaration) | |
|---|
Function DefineAttribute( _
ByVal Name As String _
) As Object |
| Visual Basic (Usage) | |
|---|
Dim instance As ISldWorks
Dim Name As String
Dim value As Object
value = instance.DefineAttribute(Name)
|
| C# | |
|---|
object DefineAttribute(
string Name
) |
| C++/CLI | |
|---|
Object^ DefineAttribute(
& 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
Example
Remarks
See Also