Search the Community
Showing results for tags 'midpoint'.
-
I'm having a hard time: I'm creating a middle line in the center of a road route, to verify the distance traveled by trucks. To do this, I create a 3dpolyline by connecting the edges of the path and then create a 3D POLYLINE by clicking on the midpoint of each polyline to draw a median route. As they are many, it is being a complicated job, since I have to click on the midpoint of each one to generate the 3D line that I need. Is there any lisp that can already do this, remembering that it needs to be 3D?
- 4 replies
-
- 3dpolyline
- midpoint
- (and 5 more)
-
I want to make a simple dynamic block showing a plan section of a window with one mullion between the window jambs. I've succeded making the block stretchable to any given length that is required. The problem is, that I can't figure out how to keep the mullion right in the middle between the jambs. Is there any simple way to get there using the actions and parameters in the block authoring palettes? Please help. Thanks
- 4 replies
-
- midpoint
- dynamic block
-
(and 2 more)
Tagged with:
-
find midpoint btw 2 user points - then place user defined text at this midpoint
BudPerry posted a topic in AutoLISP, Visual LISP & DCL
I need to create a routine that will allow a user to pick two points (via intersections) and then it will automatically place text (user types in) at the midpoint between these first two points. So far I have: (defun c:textplacer () (command "_textstyle" "standard") (command "_textsize" "6.0") (command "_osnap" "Intersection") (setq pt1 (getpoint "\nSelect First Point:"));gets the first user point (setq pt2 (getpoint "\nSelect Second Point in POG Direction:"));gets the second user point (setq pt3 (abs (- (car pt1)(car pt2))));gets the middle point btw pt1 and pt2 ;need the rest here );end function Not even sure if pt3 is really getting the midpoint...I'm out of my depths here.