Which is the sketch of the sketched part feature?

Which is the sketch of the sketched part feature?

Maxim-CADman77
Advisor Advisor
378 Views
1 Reply
Message 1 of 2

Which is the sketch of the sketched part feature?

Maxim-CADman77
Advisor
Advisor

How do I determine which sketch was used to create the given sketched feature (for example Revolve)?

Please vote for Inventor-Idea Text Search within Option Names

0 Likes
Accepted solutions (1)
379 Views
1 Reply
Reply (1)
Message 2 of 2

JhoelForshav
Mentor
Mentor
Accepted solution

SyntaxEditor Code Snippet

Dim doc As PartDocument = ThisDoc.Document
Dim revolves = doc.ComponentDefinition.Features.RevolveFeatures
Dim revolve As RevolveFeature = revolves.Item("Revolution1")
Dim revolveSketch = revolve.Profile.Parent
MsgBox(revolveSketch.Name)

This code writes out the name of the sketch that contains the profile used in a revolve named "Revolution1" in a part.

Hope its what youre looking for.

0 Likes