Creates a route using the specified sketch entity types and IDs.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function ICreateRouteThroughSketchEntities( _
ByVal conversionMode As System.Integer, _
ByVal autoTangencyMode As System.Integer, _
ByVal Count As System.Integer, _
ByRef EntityTypes As System.Integer, _
ByRef EntityIDs As System.Integer _
) As System.Integer |
Visual Basic (Usage) | |
---|
Dim instance As IAutoRoute
Dim conversionMode As System.Integer
Dim autoTangencyMode As System.Integer
Dim Count As System.Integer
Dim EntityTypes As System.Integer
Dim EntityIDs As System.Integer
Dim value As System.Integer
value = instance.ICreateRouteThroughSketchEntities(conversionMode, autoTangencyMode, Count, EntityTypes, EntityIDs) |
Parameters
- conversionMode
- Type of route as defined in swAutoRouteConversionMode_e
- autoTangencyMode
- Tangency mode as defined in swAutoRouteAutoTangencyMode_e
- Count
- Number of sketch entities
- EntityTypes
- in-process, unmanaged C++: Pointer to an array of integers representing the types of sketch entities to use for the route as defined in swAutoRouteSketchEntitiesTypes_e (see Remarks)
- VBA, VB.NET, C#, and C++/CLI: Not supported
See In-process Methods for details about this type of method.
- EntityIDs
- in-process, unmanaged C++: Pointer to an array of integers representing the IDs of the sketch entities in EntityTypes (see Remarks)
- VBA, VB.NET, C#, and C++/CLI: Not supported
See In-process Methods for details about this type of method.
Return Value
Error code as defined in
swAutoRouteErrorType_e
Remarks
See Also
Availability
SolidWorks Routing 2014 FCS