Anuncios

The Autodesk Community Forums has a new look. Read more about what's changed on the Community Announcements board.

calculate vertical and horizontal polyline

Anonymous

calculate vertical and horizontal polyline

Anonymous
No aplicable

Hi Everyone,

 

I was just wondering if there's any idea or lisp to calculate how many verticals and horizontals I have in my drawings.

layer in the same name. drawn in polyline, its frames for windows but I need to know how many I have frames in my project, verticals to be separated from horizontals, please note that this will be for entire high rise building.

I would appreciate if someone can give me any solutions, as it'll save me of time. if there's lisp program or any command.

 

best regards,

 

waseem 

0 Me gusta
Responder
Soluciones aceptadas (4)
2.519 Vistas
45 Respuestas
Respuestas (45)

Anonymous
No aplicable

@Kent1Cooperappload the file.

ara_neresesian
Collaborator
Collaborator

HI

I AM TRYING TO FIND A MATHEMATICAL EXPLANATION OR FORMULA FOR  NEXT STEP

MAY BE YOU CAN  HELP ME TO FIND IT.

THE FIRST VER WAS SO EASY  VERTICAL AND HORIZONTAL.

BUT NOW ITS A LITTLE HARD TO FIND A FORMAL WHICH CAN  EXPLAIN ALL HOR POLY LINENS,

FOR SIMPLY FRAME ITS OK TO FIND TOP MID OR BOT (THIS ONE IN DOWN) BUT FOR THE COMPLICATED FRAMES "SEE CAD FILE FOR MORE) ITS RELAY HARD , BUT NO WORRY WE WILL FIND THE WAY (FOR EVERY POLLUTION THERE IS A SOLUTION )

SEE THIS PIC , HOW I CAN TELL AUTOLISP , THIS  ONE ,IT CAN BE TOP , IT CAN BE MID, OR IT CAN BE BOT

TEST.JPG

GOOD LUCK

0 Me gusta

Kent1Cooper
Consultant
Consultant

@Anonymous wrote:

@Kent1Cooperappload the file.


That's what I did, too, and it continues to work for me.  I have no other suggestions.

Kent Cooper, AIA
0 Me gusta

cadffm
Consultant
Consultant
Solución aceptada

@Anonymous 

" says unknown command. I don't know what's the problem"

There is no "(command" -expression inside, so the only (new defined) command is HVFQ

 

No error if you use appload for this file?

https://forums.autodesk.com/autodesk/attachments/autodesk/706/996209/1/HVFQ.lsp

 

And if you try to load it by using (load "c:/mypath/hvfq.lsp"), also no errors?

then Command: HVFQ shold works..

 

What is you Product name and version? Command: ABOUT

Sebastian

0 Me gusta

ara_neresesian
Collaborator
Collaborator
Solución aceptada

Hi

here it is the final lip for vertical and horizontal report.

test it, and then trust it.

remember the  wide must be  exactly 35 not 35.0000001 or 38 not 38.00001

you know better 

enjoy and keep me update if something went wrong

by the way i changed the EL command to VH ("you can change in (defun c:VH ()) to what ever you like

el command belong to ellipse  

one thing more i found something for  top mid and bot problem, i will let you know next week.

Good luck

Anonymous
No aplicable

@ara_neresesianthank you Ara I really appreciate your hard work. lisp works perfect.

OK I will wait for it hopefully you can figure out a good solution so I can depend on it.

thanks again.

regards,

Waseem