CREATE RECTANGLE

CREATE RECTANGLE

Gaganpatel
Collaborator Collaborator
1,210 Views
6 Replies
Message 1 of 7

CREATE RECTANGLE

Gaganpatel
Collaborator
Collaborator

Dear Sir,

 

I want rectangle create lisp.

0 Likes
1,211 Views
6 Replies
Replies (6)
Message 2 of 7

cadffm
Consultant
Consultant

(command "_.RECTANG" "0,0" "300,120")

 

(command) is a Lispfunction and command rectang create a closed Polyline in a rectangle shape.

 

And now, please feel free to ask whatever you want to know in detail.

Sebastian

Message 3 of 7

Kent1Cooper
Consultant
Consultant

@Gaganpatel wrote:

.... 

I want rectangle create lisp.


Will the ordinary RECTANG command not do for you?  If not, what more [options? controls? limitations?] do you need in a routine?

Kent Cooper, AIA
Message 4 of 7

roland.r71
Collaborator
Collaborator

@Kent1Cooper & @cadffm, you guys are to good for this forum.

I'm just struggeling not to answer: "A rectangle can not create lisp."

 

@Gaganpatel: Please, explain what you want to do, IN DETAIL, using as many words as you can!

 

Basically, CADffm has answered your (current) question.

 

Put the command in a lisp, and you have a lisp to create rectangles. (is it usefull; no)

I'm prety sure that's not what you want. Is it? So: Explain what you (realy) want.

0 Likes
Message 5 of 7

stevenharkins
Community Visitor
Community Visitor

Hi, 

 

   I am extremely new to LISP.  I am trying to create a lisp to create a multitude of rectangles based off of a CSV file.  I was given the below LSP and CSV file; however, for the life of me I can not either run the program or it doesn't seem to work.  Any Help would be greatly appreciated.

0 Likes
Message 6 of 7

dlanorh
Advisor
Advisor
You would be better served creating a new question rather than tagging onto an old one

I am not one of the robots you're looking for

0 Likes
Message 7 of 7

Sea-Haven
Mentor
Mentor

To confuse a bit more the attached will do dims as well.

 

Doing rectangs is easy same reading csv, a couple of questions do you want on layer Green etc as per csv, how do you want the rectangs spaced 1 big row ? Or grids if grid is known else could do max x & Y and work out. x=147 y =54 again how many grids sqrt(237)= 15.3948043183407 so a 16x16 grid.

 

The more complex the more it will approach a pay for service.

 

 

0 Likes