Message 1 of 5
AddSelectionFilter Feature Dimensions

Not applicable
02-20-2006
11:38 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello.
I use VB6 with Inventor 10
I want the user to select a dimension inside a part through API .
This is a Sketch Dimension or a Extrude Dimension.
For Sketch Dimensions I use kSketchDimConstraintFilter
But then I can't select the Extrude (Feature) dimensions.
Can this somehow be done?
Thanks in advanced,
Geert
Code:
Dim oSelect As New clsSelect
Dim oDimension As Inventor.DimensionConstraint
Set oDimension = oSelect.Pick
(kSketchDimConstraintFilter, "Select length!")
-> Pick is a class functie inside clsSelect:
Public Function Pick(filter As SelectionFilterEnum, strTekst As String) As Object
Set oSelect = oInteraction.SelectEvents
oSelect.AddSelectionFilter filter
etc......
I use VB6 with Inventor 10
I want the user to select a dimension inside a part through API .
This is a Sketch Dimension or a Extrude Dimension.
For Sketch Dimensions I use kSketchDimConstraintFilter
But then I can't select the Extrude (Feature) dimensions.
Can this somehow be done?
Thanks in advanced,
Geert
Code:
Dim oSelect As New clsSelect
Dim oDimension As Inventor.DimensionConstraint
Set oDimension = oSelect.Pick
(kSketchDimConstraintFilter, "Select length!")
-> Pick is a class functie inside clsSelect:
Public Function Pick(filter As SelectionFilterEnum, strTekst As String) As Object
Set oSelect = oInteraction.SelectEvents
oSelect.AddSelectionFilter filter
etc......