AddSelectionFilter Feature Dimensions

AddSelectionFilter Feature Dimensions

Anonymous
Not applicable
294 Views
4 Replies
Message 1 of 5

AddSelectionFilter Feature Dimensions

Anonymous
Not applicable
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......
0 Likes
295 Views
4 Replies
Replies (4)
Message 2 of 5

Anonymous
Not applicable
Sorry, but the API currently does not support selection of feature
dimensions. This is a known limitation and will be considered for a future
release.

Sanjay-


wrote in message news:5091613@discussion.autodesk.com...
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......
0 Likes
Message 3 of 5

Anonymous
Not applicable
Thanks for your reply Sanjay.

I can stop searching now and hope its in V11

Geert
0 Likes
Message 4 of 5

Anonymous
Not applicable
Hi Sanjay.

We now have Inventor 11, but I still can't find it.
Is this still a limitation?

Regards,

Geert van den Brand
0 Likes
Message 5 of 5

Anonymous
Not applicable
Unfortunately, yes. The API doesn't yet support feature dimensions (other
than being able to get to the associated parameter).

Sanjay-

wrote in message news:5161897@discussion.autodesk.com...
Hi Sanjay.

We now have Inventor 11, but I still can't find it.
Is this still a limitation?

Regards,

Geert van den Brand
0 Likes