cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Project Geometry - Origin Planes

Project Geometry - Origin Planes

I've seen a lot of similar ideas to this, but I would want to propose the following:

 

Right next to the 'Project Geometry' button in the sketch toolbar, i would want three tiny icons to signify auto-projecting either an origin plane, axis, or point.

 

The icon would expand on selection to dictate which specific plane would be projected. Upon click, it would just run a simple script to project that plane onto the currently open sketch. I've included examples of what the scripts would be (see attached Zip file) as well as an IPT that contains the scripts in it.

 

Example of toolbar

dannylewisA9QBW_0-1749482776180.png

 

Example of expanded selection

dannylewisA9QBW_1-1749482789842.png

 

Example of the 'simple scripts':

 

' Basic error handling
On Error Resume Next

' Project Origin Point into active sketch
Dim oDoc As PartDocument = ThisApplication.ActiveDocument
Dim oSketch As PlanarSketch = ThisApplication.ActiveEditObject

If TypeOf oSketch Is PlanarSketch Then
    Dim oOriginPoint As WorkPoint = oDoc.ComponentDefinition.WorkPoints.Item("Center Point")
    oSketch.AddByProjectingEntity(oOriginPoint)
End If

 

 

1 Comment
Yijiang.Cai
Autodesk
Status changed to: Future Consideration

Many thanks for posting the idea to us, and tracked as [INVGEN-85975].

Can't find what you're looking for? Ask the community or share your knowledge.

Submit Idea