AutoCAD 2010 :: Align Block With 2 Points On Line?

Sep 4, 2012

I would like to make a block with 2 points and I would like them to follow a line with those 2 points..

Same as you can use the measure command to put blocks on a line with a pitch distance I would like to do the same but the block schould snap with 2 points on the line.

View 9 Replies


ADVERTISEMENT

AutoCAD Visual LISP / AutoLISP :: Align Block With Two Selected Destination Points

May 13, 2013

I am trying to write a program to align a block with two selected destination points. 
- first the user is prompted to select a lwpolyline of a block entity
- then he is prompted to pick two destination points

I face problem with the sub-routine SegmentPts. It is supposed to return the coordinates of two vertexes on both sides of the picked point on a lwpolyline using entsel. But here in my program, when i am picking a point using entsel on a lwpolyline inside a block entity, it is not returning the two vertexes on both sides of the picked point. In stead, it returns some other points of the selected LWPOLYLINE. Why it is doing so? Where is the problem in my program?

It works fine with my other programs where i pick on a LWPOLYLINE entity. In this particular case, the LWPOLYLINE is inside a Block entity and the program is not returning correct points.

Please check Lisp Program below:

(defun C:alb()
(setq ent1 (entsel "
Pick on one side of LWLINE ofa Block:" ))
(setq ent (nentselp (cadr ent1)))
[code]........

View 9 Replies View Related

AutoDesk Smoke :: Gmask Points On Same Line - Align And Move

Apr 15, 2013

I drew a Gmask with 4 points and broke the handles. My questions is:

1. How do I know when 2 or more points are exactly on the same vertical or horizontal line?
2. How do i get them to align?
3. How do I move 2 or more points together? (Control select and drag)?

View 2 Replies View Related

AutoCAD 2010 :: Stretch Dynamic Block Grip Points

Jan 24, 2013

I have created a dynamic block with stretch points. I used the tester in the block editor and all works fine, but when I insert the block into a drawing, the grips for the stretch action are in a completely different place...I don't mean a different place on the block, but a different place in the drawing...way out there. so if I go into the block editor for the block while I'm in the drawing...the parameters have now moved way out of the way also, in the block...but if I actually open up the block itself and then go into the block editor, all the parameters are where i placed them in the first place.

View 1 Replies View Related

AutoCAD 2010 :: Visually Indicate Start And End Points On A Line?

Oct 29, 2013

I know that I can find which points are which by checking the properties, but I am wondering if there is a way to (for example) edit the grips so that they indicate which end is which, like how they are used in dynamic blocks to show how an object can stretch. This isn't a problem that requires an imeediate fix, but would be nice if there were such an option.

View 4 Replies View Related

AutoCAD 2010 :: Starting Points Of Lines Text And Objects Are At Grid Line Intersections

Jun 26, 2012

 I cant start drawing an object from anywhere else( ie. inside a grid) except form the points where grid lines intersect. How do i go back to old system? I need to get some work done fast.

View 2 Replies View Related

AutoCAD 2010 :: How To Get Text Or Block Parallel To Particular Line

Apr 2, 2012

How to get the “text” or “block” parallel to a particular line?there is more than one way to alight the text with a particular line but wondering if there might be more powerful tools to do so.
 
“Rotate” and “Align” are possible commands to align the text with particular line. Parallel constrain is another option to do so but will make the drawing “busy” with additional parameter.
 
Equally, what if I need to make a block parallel to a particular line? In this case, the “parallel constrain” doesn’t work! Just I may take the advantage of “rotate” and “align”..What I wanted to know if there is a more brilliant way to get the“text” or “block” PARALLEL to a particular line with a smart tool.

View 3 Replies View Related

AutoCAD .NET :: Align Z Axis With 2 Points

Jul 6, 2012

I'm trying to Align the Z Axis with 2 points, that works but I'm 90deg off around the Z Axis.

Shared Function UCSAlignZaxix(ByVal Point1 As Point3d, ByVal Point2 As Point3d) As Matrix3d

Try
Dim ZAxis As Vector3d = Point1.GetVectorTo(Point2).GetNormal
Dim yAxis As Vector3d = ZAxis.GetPerpendicularVector.GetNormal
Dim xAxis As Vector3d = yAxis.CrossProduct(ZAxis).GetNormal
Dim NewMatrix3d As Matrix3d = Matrix3d.AlignCoordinateSystem(Point3d.Origin, Vector3d.XAxis, Vector3d.YAxis, Vector3d.ZAxis, Point1, xAxis, yAxis, ZAxis)
Return NewMatrix3d
Catch
Return Nothing
End Try
End Function

View 1 Replies View Related

AutoCad 2D :: Move / Align And Rotate Text To Two Selected Points?

Nov 2, 2012

Any routine (perhaps a lisp) to move, rotate and align text with one swift command?

Something like this video below.

View 9 Replies View Related

AutoCAD Civil 3D :: Inserting A Block Deletes Points With Point Style With Same Block

Oct 16, 2013

We're using C3D 2013 SP2.  The survey company we use uses point styles to show the blocks.  Say they shoot a catchbasin.  Instead of inserting the block, the point shows up as the block.

I did a field check & needed to insert a missed CB.  When I inserted the block, the other points that were CBs disappeared.  I had to insert the block, copy it the clipboard, undo the insertion & then paste the block in.  It did this on other drawings & other blocks.

View 7 Replies View Related

Photoshop :: Align Two Points During Scale...

Feb 19, 2009

I've got two layers that need to be aligned, but are currently at different scales. In Illustrator, aligning two objects (lets call them A and B ) at different scales is an easy two step process: drag point A1 to point B1; then move the reference point to A1/B1 and scale-drag point A2 until it's on top of point B2. Voilà! But in Photoshop I can't seem to scale except with corner handles or numerical input, and neither is convenient for this purpose. Is there something comparable to Illustator's scale tool in Photoshop?

View 11 Replies View Related

Revit :: Using Align On Adaptive Points?

Mar 20, 2013

it is possible to use the Align command on an adaptive point (once inserted in the model). It seems that when I try to align an adaptive point to something, it moves the entire family. However, when I attach dimensions to each point, the points move independent of their context.

View 1 Replies View Related

AutoCAD 2010 :: Absolute Points And Relative Points

Aug 9, 2012

what absolute points and relative points are in AutoCAD. What is the difference?

View 8 Replies View Related

AutoCad :: How To Center-align Rectangle To Group / Block

Aug 27, 2009

I need to center-align a rectangle to a group/block object (also it's midle), how do I do that? Can I create/insert a grip or snap point in the midle of the group/block object?

View 7 Replies View Related

AutoCad :: Align MTEXT To Same Angle As A Line

Apr 6, 2011

I am trying to make a label for a line at a N 87d E angle, I want the text to be the same angle as the line. How do I do that?

View 5 Replies View Related

AutoCad 2D :: Align Multiple Objects To Line?

Jun 7, 2011

Any good script that allows you to align multiple objects to a line? I've found the ALIGNIT.lsp, but it's not working in Autocad 2012.

It's like this:

I have a horizontal line. Above it, there are +200 objects. They are aligned in the right rotation already, but I just want to move all the objects lower line to my horizontal line.

View 6 Replies View Related

AutoCad :: Align Objects To A Straight Line

May 22, 2013

How can I align objects which are in a curve to a straight line? I thought I already knew the answer to this but when I tried I could not get it done.

I have about 1000 objects that I need aligning in this way (see attached image).

align.jpg

View 3 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Align Block With Attribute Value?

Apr 15, 2013

I started a lisp that moves blocks according to their attributes and align numeric value in x 0.0. I work currently selected point by point. I will wish it to run at once on a selection set (I am angry with entsel).

(defun c:test (/ sel ent st newpt)
(if (setq eset(ssget))
(progn

[Code]....

View 9 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Align Geometry Within A Block?

Oct 5, 2011

What I am trying to do is figure out the steps to "reset" geometry within blocks. (Assuming rectilinear).

That is to say find the min X value and Y Value and align that with the 0,0 of the block. To be able to do this on a drawing full of blocks. Essentially fixing poorly defined blocks whose origins are miles/km's away!

View 9 Replies View Related

AutoCad 2D :: Hollow Plines And When Align A Block Drawing Zoom Extents

Mar 13, 2012

Currently I am using 2010 Map 3d, for water main base plans.

I use Micro Survey to process my field work. From there I open in Cad, import layers from our GIS data base for property, buildings, addresses, etc.

The only thing I have done different is from another project was copy and paste some utility layers.

Now my drawing turns any plines with width into hollow lines, and if align something my drawing will zoom to extents, also text mask does not work and i tried turning text to Mtext and it will not let me select yes for background mask.

All other drawings I check everything works fine.

View 3 Replies View Related

AutoCad :: Create Text To Align With The Face Of Isometric Line?

Sep 23, 2011

there a way to create text to align with the face of an isometric line?

View 9 Replies View Related

AutoCAD 2010 :: How To Align Texts

Mar 1, 2012

How to align texts in the AutoCAD?

I’m wondering if there is a way to align texts in the AutoCAD with no work around. For example, in the ArcGIS we can select the texts and force the alignment.

Sure, in the AutoCAD, I can force the text to have the same x-coordinate to align them or other kind of work around, but why we don’t have this as a command like what we have in the ArcGIS?

View 9 Replies View Related

AutoCAD 2010 :: Where Can Find Arc Align Text

Apr 10, 2012

when i click on my express tools and the arc align text command, it doesnt work says unknown command arctext what file holds this command so i can check to see why its not loading

View 2 Replies View Related

AutoCAD 2010 :: Align Or Rotate Objects Parallel To X Axis?

Dec 19, 2013

Lisp routine or macro that will either rotate or align selected objects so they are parallel to an axis on the current UCS?

Specifically, when placing mtext to label an object. I typically align my ucs to the object then create the text so it is parallel to the object. It would be great if I could create the text with a rotation of 0, align my ucs to the object to be labeled and then with a single click, select the text making it parallel to the X axis.

View 5 Replies View Related

Illustrator :: How To Align Star On A Line

Sep 26, 2013

I have a path that's coming out from an arbitrary angle, and I want a star at the end of the line, but perfectly centered so that the line bisects one of its inner arrows, if that makes sense.
 
I've made a separate star and a separate path, but I can't seem to hand-align it correctly.

View 3 Replies View Related

AutoCAD 2010 :: Inserting New Block And Entering Attribute Data By Selecting Another Block?

Aug 13, 2012

Is it possible, via whatever methods (lisp?) to be able to have a premade block with an attribute and insert it into a drawing then assign a value to it by selecting another existing block in the drawing and using one of its own attribute’s values?

For example, say I have a block representing a telephone and it had an attribute called "PhoneNo" and I inserted it into a drawing showing an office floor plan that had blocks in each office space that are telephone junction boxes with attributes "PhoneExtension".  I would like to be able to autocomplete the entering of the “PhoneNo” data by selecting one of the telephone junction boxes in the drawing and using its attribute’s value.

View 5 Replies View Related

AutoCAD 2010 :: Dynamic Block Grips - Block Does Not Change When Insert In Another File

Oct 28, 2013

I have created a dynamic block with a stretch, flip and rotate.  Everything works great in its file.  When I insert it in another file, the grips move but the block does not change.

AutoCAD 2014

View 2 Replies View Related

AutoCAD .NET :: Clone Block With Points

Jul 21, 2013

I have a object which im cloning and moving along a path.I am finding the GeometricExtentsBestFit points of the block and plotting in the drawing.I want to clone the object with these points.

Dim bref As BlockReference = actran.GetObject(idsBox(0), OpenMode.ForWrite).
Dim BlockCloneNew As BlockReference = bref.Clone()
Dim bestFit AsExtents3d = bref.GeometryExtentsBestFit
Dim bestfitMin As Point3d = bestFit.MinPoint
Dim bestfitMax1 As Point3d = bestFit1.MaxPoint 

View 7 Replies View Related

AutoCAD 2010 :: Convert Block Back To Title Block Or Border

Feb 15, 2012

We have a title block and border which is used in MS.  If this is referenced using AMTITLE then it acts as expected.  We issue these to some external people to create our drawings but they have been using CTRL-C and V to place them in a new drawing.  ACAD does now not see them as a Title block or border but as blocks.  We have a process to bring DWG's into SAP and this will check for a title block and border. 

The issue is we need to fix these drawings and currently this means removing the borders and title blocks and placing new ones then adding all the attributes again.  Is there a way to convert the blocks back to how they should be?
 
AutoCADM 2011 SP2
XP 32-Bit SP3

View 4 Replies View Related

Photoshop :: Align Vertical Line Numbers?

May 24, 2013

I'm trying to make a code editor UI for a personal project I'm going to start. But I can't figure out why Photoshop is aligning my line numbers "off".
 
I'm using the font Source Code Pro
I'm center aligning the numbers.
 I'm using Photoshop CS6 on OSX.

View 1 Replies View Related

AutoCAD 2010 :: Multileader Align Tool Works Only When Labels Are Left Justified

Apr 27, 2011

I'm using the Multileader Align tool for my labels and it works great as long as my labels are left justified.  I noticed this issue has been brought up before but didn't know a way to make it work for right justified text. 

My problem is this: right justified text will not justify properly.  It will not justify the same way that left justified text does.  If you can follow this, leaders that have text that are left-justified will align according to their leader lines and everything looks neat and correct.  The leaders that are right justified do not align properly because they align to the left side of the text.  See the following screen shots and you'll understand...

Incorrectly justified leaders.

Correctly justified leaders

View 9 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved