inquire flat view attributes
Does someone know how to inquire the :base_face, :flat_origin and :flat_direction of a flat view in annotation. I tried to do it with (sd-am-inq-view), but I can't find these things.
We already create one flat view, but we want to have a sheet with a second flat that is completely the same like the first flat. So it would be handy to get these attributes out of the first one. Can anyone know how to inquire this? thanks in advance |
Re: inquire flat view attributes
I am not completely sure, Maybe this will give you what you need.
(sd-am-inq-view-settings view) Tom |
Re: inquire flat view attributes
Tom thanks for your reply, but view-settings only shows the color of the linetypes and so on.
|
Re: inquire flat view attributes
You can use
Code:
(DOCU::DOCU-GET-FLAT-INFOS "~21") Code:
(:GENERATE-STRING John |
Re: inquire flat view attributes
Hi John,
This code did the trick. Thank you Ruben |
Re: inquire flat view attributes
Wow, nice command, John!
Brings me to a question... I'm always fighting a bit with calling Drafting stuff in Lisp... how di I inquire the drafting part name of the Flat View in Lisp??? Thnx, Jaap |
Re: inquire flat view attributes
Hi Jaap,
Whit this command you should be able to get the name of the first flat on the current sheet. Code:
(display (sd-am-inq-name (first (sd-am-sheet-struct-flats (sd-am-inq-sheet (sd-am-inq-curr-sheet)))))) |
Re: inquire flat view attributes
Great, thnx!!
|
All times are GMT -8. The time now is 12:00 AM. |
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.