Edit feature possible? (VB6)

Edit feature possible? (VB6)

Anonymous
Not applicable
267 Views
2 Replies
Message 1 of 3

Edit feature possible? (VB6)

Anonymous
Not applicable
Hi,

I'm working with a "function" to edit Part Features within Assembly
documents.
Equal to: Select "Feature Priority" - Right click on selected Feature and
"Edit Feature" (and also "Edit Sketch" if possible)

Is it possible through API?

Lars
0 Likes
268 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable
Sure,

Looks like you have some reading to do. 🙂

In Inventor from the main menu:
Help / Programming Help

You will want to start with the:

Sketches overview
Features overview
Assembling parts overview

I am assuming you want more than to just launch the editing modes.

~Tom
0 Likes
Message 3 of 3

Anonymous
Not applicable
Tom (and all other)

I have used parts of the samples and tested following code with "some
success".

' Create a new clsSelect object.
Dim oSelect As New clsSelect

' Call the pick method of the clsSelect object and set
' the filter to pick any feature.
Dim oFeature As PartFeature
Set oFeature = oSelect.Pick(kPartFeatureFilter, "Select Feature to
edit")

MsgBox "Feature name is: " & oFeature.Name


My problem now is if it's possible to just edit the selected feature. (like
the context menu, "Edit Feature")

Lars


skrev i meddelandet news:5268909@discussion.autodesk.com...
Sure,

Looks like you have some reading to do. 🙂

In Inventor from the main menu:
Help / Programming Help

You will want to start with the:

Sketches overview
Features overview
Assembling parts overview

I am assuming you want more than to just launch the editing modes.

~Tom
0 Likes