I'm wanting to have vertical and horizontal construction lines already created whenever I start a sketch so that I can set symmetric constraints to the part I'm drawing up. At the moment, I have to draw both lines every time and constrain them to the center point. It would be much easier if it was already there when I started so I can start on the sketch right away. Is there a way to do this? I've included a photo of what I'd like to do. Thanks in advance for your help!
Solved! Go to Solution.
Well there is no photo but why would you draw lines? just use constraints Vertical and horizontal to the center orgin.
You can have it auto project the orgin center..
I do already have the origin projected, but using the horizontal and vertical constraints won't make my sketch symmetic about the origin axis. That's my main objective here...
@john: I tried to project the axis into the sketch, but it didn't work
Turn on construcion, click project geometry, then click X Axis and Y Axis in the browser, then OK.
but using the horizontal and vertical constraints won't make my sketch symmetic about the origin axis
That funny it works for me all the time.....................
Maybe you are doing to much on base sketch.....
I'm not aware of setting to do this, but you could use this iLogic rule to quickly add the projected line as cosntruction lines to any sketch that needs them.
If Typeof ThisApplication.ActiveEditObject Is Sketch Then 'Do nothing Else MessageBox.Show("Activate a Sketch First then Run this Rule", "ilogic") Return End If Dim oPartDoc As PartDocument oPartDoc = ThisApplication.ActiveDocument Dim oSelectSet As SelectSet oSelectSet = oPartDoc.SelectSet oSelectSet.Clear 'turn on construction line ThisApplication.CommandManager.ControlDefinitions.
Item("SketchConstructionCmd").Execute 'look at the workplane collection For Each oWorkPlane In oPartDoc.ComponentDefinition.WorkPlanes 'find origin planes only If oWorkPlane.IsCoordinateSystemElement = True Then oSelectSet.Select(oWorkPlane) End If Next 'Project Geometry ThisApplication.CommandManager.ControlDefinitions. Item("AppProjectGeometryWrapperCmd").Execute 'Cancels active command ThisApplication.CommandManager.StopActiveCommand 'turn off construction line ThisApplication.CommandManager.ControlDefinitions. Item("SketchConstructionCmd").Execute
I hope this helps.
Best of luck to you in all of your Inventor pursuits,
Did you find this reply helpful ? If so please use the Accept as Solution or Kudos button below.
In sketch mode, select construction lines for linetype, then project geometry either from the relavent workplanes or axis.
This is what I would do, except without turning on construction lines.
This method seems to work fine. Thanks for your help.
Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register