Construct line equally on either side of cursor - [Archived] MicroStation V8i Forum - MicroStation - Bentley Communities

Construct line equally on either side of cursor

MicroStation

MicroStation
This is the “general” community for all issues that are not associated with any of the “peer MicroStation communities”.
[Archived] MicroStation V8i Forum

Construct line equally on either side of cursor

  • There is one line command I feel that Microstation is missing is the ability to place a line at a given length equal on both sides of the cursor. Anyone who is familiar with the "Construction Line" tool in AutoCAD should know what I am talking about. I have not worked in AutoCAD since R2000i so I do not know if it still exists but inR200i and previous version you could use the construction line tool to place a line of infinite length at any angle on the screen. The line would extend on either side of the cursor. It would be nice if Microstation would have a toll to place a line of a fixed length on both sides of the cursor. If the place line tool had a check box to say equal length on both sides of cursor would be a great improvement.

     I have not found this option anywhere in Microstation. Am I missing it somewhere? Right now I use the place line tool to place a line at a specific length and then use the extend line to extend it in the opposite direction that same length.

     Any thaughts??????

     

    Mike

  • Sounds like this tool was invented to solve a specific problem?  If you can explain the use cases or problems that the tool solves, I'll bet we can solve the need with a somewhat different workflow.

    Robert Garrett
    Senior Product Engineer
    Bentley Systems Inc.

         

  • Mike:

    There is one line command I feel that Microstation is missing …

    Does Copy Parallel do anything for you?

    Regards, Jon Summers
    LA Solutions

    Regards, Jon Summers
    LA Solutions

  • Hi Mike

    The line in ACAD that you are referring too is a XLINE and it is still available in ACAD2010.  In MicroStation there is no such line. However MS does have constructions line but this still does not relate to your question as its length is user defined.  The problem you may have in MS is that if you place such a line and then zoom> fit all, you may find your design is tiny as it may use the extents of the Xline to fit the view.  I have just checked this in ACAD2010 and the Zoom Extents ignores the XLines.

     Over to bentley on this.

    Ian
  • Here is an example of what is needed. In the attatched screenshot you can see I have lines place every 25' on an alignment equal distance from the baseline. I created this using InRoads Cross Section tools. That works well for someone who uses InRoads all the time. From a purely drafting stand point, as we have drafters who do not use InRoads, if a person wanted to place either a single line or 2-3 lines in this fashion w/o InRoads you need to draw a line using the simple place line tool at a given length the invoke the extend line tool to extend the line by that same length to the opposite side. This example shows the lines perpendicular to the baseline as a quick example. The ability to place a line that is eaual distance on either side of the cursor is a nice tool to place a line at any length and angle quickly in one step. Does not matter if you want to measure thing that cross it's path, see what is in the specific path, or use it as a starting point to draw from. There are many senarios that this would be a useful tool and should be easy to incorporate.

     

    Mike.

  • That is a good point with the view extents. I never really understood the infinite line length in ACAD. The ability of drawing a line to a specific length for that would be more sutible.
  • Couldn't you just create a cell with a line of the length you desire. Create the cell with the line horizontal, this way you can have it rotate using accudraw' x-axis to align the cell to the proper orientation. put a keying on a shortcut to place the cell.

    HTH - Roy

  • I could use a cell but then I need to scale it up or down depending on the length. The idea here is to add a simple check box to the line tool that extends the line equally on both sides without having to go through multiple steps.

     

    Thanks for the suggestions, I have used these methods.

     

    Mike

  • Mike,

     I took a quick look at AutoCad's xline, and I couldn't figure out how to get it to draw lines at 25' intervals, perpendicular to a centerline, at an equal offest on both sides, like the lines you show in your example. I was able to get AutoCad to display parallel lines to the centerline, which could be done in MicroStation by using the Copy Parallel by key-in command, just as Jon Summers suggested. If you wanted to place lines like the ones shown in your example without using InRoads, you can use the Construct Array command, selecting the Along Path Method, define your distance, and turn on the Rotate Items radio button so that the lines are perpendicular to your centerline.

  • chrismexas:

    Mike,

     I took a quick look at AutoCad's xline, and I couldn't figure out how to get it to draw lines at 25' intervals, perpendicular to a centerline, at an equal offest on both sides, like the lines you show in your example. I was able to get AutoCad to display parallel lines to the centerline, which could be done in MicroStation by using the Copy Parallel by key-in command, just as Jon Summers suggested. If you wanted to place lines like the ones shown in your example without using InRoads, you can use the Construct Array command, selecting the Along Path Method, define your distance, and turn on the Rotate Items radio button so that the lines are perpendicular to your centerline.

     

    The example shown is just that, an example of one situation to use this for. I do not want to be able to reproduce the example w/o InRoads. I want to be able to place a single line (or maybe 2-3 lines) at any given time I feel the need to place a line where the line extends equal distance from the cursor (no a centerline). Once I invoke the place line command and choose a line length check on extend on both sides of cursor (if it is added) then when I pick a data point anywhere on the screen the line would be placed and then be able to have the line rotate dynamically (as it currently operates) until I pick another data point or define an angle. The example given is just to show the effect.

     

    Thanks,

    Mike.

  • Mike,

    After reading through the thread a copule of times, I finally understood what it is you are trying to accomplish. Sorry for not getting it at first, your explanation was clear enough, but I got confused with the picture.

    I still can't replicate what you are trying to do by using AutoCad's XLINE command. Can you explain how it is done using ACAD?

  • Ok, my appologies this time. The part I have wrong is placing the line with a data point and then still be able to dinamically rotate that line until another data point is chosen.

    In ACAD when you use the "Construction Line" (xline) tool you must specify horizontal angle or vertical. In any case you get a line of infinite length drawn.

    So if Microstation had the ability with the place line tool to just place a line of a difined length (rather than infinite) equal on both sides of the cursor in one step that would be great. But what would make it better would be the ability to place that same line and be able to rotate that line until a second data point is specified. The place line command functions that way already except it does not have the line on both sides of the cursor. Even if the check box was specified as place from center point of line, so if you set the distance box to 20 and check that box it would attach the line to the cursor at 10 units from the end of the 20 unit line. Place a data point to anchor the center point and drag the cursor to rotate the line to whatever angl you wanted and click a second data point to finish the command.

     

    So for the confusion, it has been a long time since I used ACAD.

     

    Thanks,

    Mike

  • Mike,

    The only thing I can think of is to create a cell (as suggested earlien in this thread), with a line measuring 2 units (ft m, etc), and place the origin of the cell at the midpoint of the line. Then you could use the place cell command, set the scale to be whatever distance from the origin that you want (if you want the line to be 100 units on each side of cursor, your scale would be 100, and set your interactive radio button to rotate only so that you can dynamically rotate the line at the angle you want. You would end up getting a cell instead of a line, but it may help you achieve what you are trying to do. 

  • PlaceLineCenter.gif

    I only need to do something like that rarely, but when I need it I do the following:
    Create the line of fixed length, but make it twice the desired length.
    Snap to the center of the line and move it to the original point.
    ...
    Ok, just to make sure I am fully understanding, are you looking for something like the attached AnimGIF?

    -G-

  • How did you get it to extend the line out in both directions? I think that's exactly what Mike is looking for. Is that a special macro or MDL routine, or am I missing something?
  • It is a custom tool I just hacked together in VBA for this discussion as a proof of concept  :-)

    -G-

  • I want a tool like this, that draws equally long on both sides of cursor. It can save a lot of time when drawing centerline symbols and other things. I had one in another CAD program and loved it. -Gary
  • Gerald Hernandez:

    I only need to do something like that rarely, but when I need it I do the following:
    Create the line of fixed length, but make it twice the desired length.
    Snap to the center of the line and move it to the original point.
    ...
    Ok, just to make sure I am fully understanding, are you looking for something like the attached AnimGIF?

    -G-

     

    That is the concept I am looking for. I think it should be pretty simple for Bentley to ad to the standard place line tool with a simple check box. Apparently there are others who find this function useful.

     

    Thanks for the input.