hi all, I'm trying to create a 3D Solid from LISP Command, however the result is very odd. (command "_.BOX" pt1 pt2 500) For different viewing angle, or different zooming level, the height of the solid will be DIFFERENT! But the fact is that I have already hard code the height to be 500. What would be the reason?
Okay.... Personal rant follows... If you have "feelings" stop reading now... This is just my opinion, If you don't know how the program works or how to use the commands needed to function, then you have NO business writing lisp, NONE, ZERO, NADA. If you don't know that the BOX command reads the 3D points as the corner of the box and then ignores the 500, you have NO business writing lisp. If you don't know what "running osnap" is you have no business writing lisp. If you don't know that the UCS can be different in different viewports and what controls it, you have no business writing lisp. ... personal rant over... ... ignore, delete, whatever ....
I only asked because if you input 3d points with different z values, the height (500) appears to be ignored, and the two 3d points are used as the 'far corners' of the box. When I ran your code, using a variety of point inputs (2d, 3d, matching z, mismatched z) the view of the box was identical 'from all four corners'. So I guess I should say I didn't get the same results you did.
I take it your otherwise congenial and constructive spirit has been destroyed by some other disapointment this morning...? to function, then you have NO business writing lisp, NONE, ZERO, NADA. If you don't know that the BOX command reads the 3D points as the corner of the box and then ignores the 500, you have NO business writing lisp. If you don't know what "running osnap" is you have no business writing lisp. If you don't know that the UCS can be different in different viewports and what controls it, you have no business writing lisp.
<<I take it your otherwise congenial and constructive spirit has been destroyed by some other disapointment this morning...?>> <snicker> Yeah, had a new hire last week spend two hours writing a lisp routine to lengthen a line because he didn't know about the LENGTHEN command. He did this AFTER he was told not to write any lisp until cleared by CAD management, AFTER all the company training.. sheesh... go figure. Beyond that, I TRIED to embed some constructive information in my rant. Besides, that's about as congenial as I've ever been, I mean I warned everyone right? ;-)
Hi, Finally I defined the pt2 Z values to be the height, and ignore the parameter in command. Although I'm not sure it's the formal way to do so, it works! many thanks.