Creates a Smart Component.
.NET Syntax
Visual Basic (Usage) | |
---|
Dim instance As IAssemblyDoc
Dim ComponentIn As Component2
Dim RelatedComponents As Object
Dim RelatedFeatures As Object
Dim AutoSizeDiameter As Boolean
Dim LpMateReference As Entity
Dim BoundingValues As Object
Dim value As Boolean
value = instance.CreateSmartComponent(ComponentIn, RelatedComponents, RelatedFeatures, AutoSizeDiameter, LpMateReference, BoundingValues)
|
Parameters
- ComponentIn
- IComponent2 to make smart
- RelatedComponents
- Array of the components to associate with the Smart Component
- RelatedFeatures
- Array of the features contained in the components to associate with the Smart Component
- AutoSizeDiameter
- True to auto-size a cylindrical Smart Component that has multiple configurations, false to not
- LpMateReference
- Concentric mate reference between a cylindrical face or axis and a feature
- BoundingValues
- Array of doubles specifying minimum and maximum diameter values with which each configuration is compatible
Return Value
True if the Smart Component is created, false if not
Example
Remarks
See Also
Availability
SolidWorks 2007 FCS, Revision Number 15