Jump to content

Drawing architect lines


armenta_43

Recommended Posts

Armenta, it would help us a lot if you could elaborate on your intentions. help us help you.

just simply saying inches and boundaries looks like an effortless attempt to undertand your questions

Link to comment
Share on other sites

Sorry fellas, I am trying to create a site plan and havent mastered the cordinate system of Degrees, Hours & Minutes commands...just need a baseline direction

Link to comment
Share on other sites

I am also struggling with bearings and distance coordinates

 

I believe the way autocad wants you to input it is very user unfriendly

 

@116.77

 

I have a lisp routine that I got off this site

 

it sepparates the input

 

instead of the one line above, type

 

116.77

86

32

54

 

and it will draw the line

 

 

 

 

type bd to start

 

;Tip1741: BD.LSP Bearing/Distance lines ©2001, Joon Hong $50 Bonus Winner

 

(defun C:BD ()

(setvar "cmdecho" 0)

(initget 1)

(setq PT (getpoint "\nPick a starting point: "))

(initget 1 "NE NW SE SW")

(setq BR (getkword "\nPick bearing (NE/NW/SE/SW): "))

(setq OPT (strcase BR))

(initget 1)

(setq LEN (getreal "\nType the length: "))

(setq DEG (getstring "\nType the degree: ")

minx (getstring "\nType the minute: ")

SEC (getstring "\nType the second: "))

(if (= DEG "")

(setq DEG "0"))

(if (= minx "")

(setq minx "0"))

(if (= SEC "")

(setq SEC "0"))

(cond ((= "SW" OPT)

(setvar "angbase" (cvunit 270 "degree" "radian"))

(setvar "angdir" 1))

((= "SE" OPT)

(setvar "angbase" (cvunit 270 "degree" "radian"))

(setvar "angdir" 0))

((= "NW" OPT)

(setvar "angbase" (cvunit 90 "degree" "radian"))

(setvar "angdir" 0))

((= "NE" OPT)

(setvar "angbase" (cvunit 90 "degree" "radian"))

(setvar "angdir" 1)))

(command "line" PT (strcat "@" (rtos LEN) "

(setvar "angbase" 0)

(setvar "angdir" 0)

(setvar "cmdecho" 1)

(princ))

(princ "\nType 'BD' to draw lines with bearings")

(princ)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...