Community
Inventor Forum
Welcome to Autodesk’s Inventor Forums. Share your knowledge, ask questions, and explore popular Inventor topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to have construction lines already drawn when starting new sketch?

9 REPLIES 9
SOLVED
Reply
Message 1 of 10
hhls11
1905 Views, 9 Replies

How to have construction lines already drawn when starting new sketch?

Hi all,

 

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!

Inventor Professional 2021
Intel Core i7-9700K @ 3.60Ghz
16GB DDR4 RAM
NVIDIA GeForce RTX 2060 Super GPU
Windows 10 Professional 64-bit
9 REPLIES 9
Message 2 of 10
jletcher
in reply to: hhls11

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..

 

Capture.JPG

Message 3 of 10
Anonymous
in reply to: hhls11

Try projecting the x & y axis into the sketch (assuming you are on the xy plane).

Message 4 of 10
hhls11
in reply to: jletcher

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

Inventor Professional 2021
Intel Core i7-9700K @ 3.60Ghz
16GB DDR4 RAM
NVIDIA GeForce RTX 2060 Super GPU
Windows 10 Professional 64-bit
Message 5 of 10
Anonymous
in reply to: hhls11

Turn on construcion, click project geometry, then click X Axis and Y Axis in the browser, then OK.

8-24-2012 9-49-52 AM.png

Message 6 of 10
jletcher
in reply to: hhls11

hhls11 wrote:

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.....

 

 

 

Message 7 of 10
Curtis_Waguespack
in reply to: hhls11

Hi hhls11,

 

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

 

http://inventortrenches.blogspot.com/2012/01/creating-basic-ilogic-rule-with-event.html

 

I hope this helps.
Best of luck to you in all of your Inventor pursuits,
Curtis
http://inventortrenches.blogspot.com


Message 8 of 10
PhilSaw
in reply to: hhls11

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.

Please click "Accept as Solution" if this response answers your question.
-------------------------------------------------------------------------------------
Autodesk Inventor Professional 2012
Windows 7 Professional, 64-bit (Service Pack 1)
Intel(R) Core(TM i7-2600 CPU, Quadro 2000 graphics card, 8G RAM
Message 9 of 10
hhls11
in reply to: Anonymous

This method seems to work fine. Thanks for your help.

Inventor Professional 2021
Intel Core i7-9700K @ 3.60Ghz
16GB DDR4 RAM
NVIDIA GeForce RTX 2060 Super GPU
Windows 10 Professional 64-bit
Message 10 of 10
Anonymous
in reply to: hhls11

If you often start your sketches like this, you may want to save this as a template.

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

Post to forums  

Autodesk Design & Make Report