TheSwamp
Code Red => AutoLISP (Vanilla / Visual) => Topic started by: dussla on March 19, 2008, 01:40:09 AM
-
i found good lisp site
http://lzycad.ys168.com/
that is toolset about 2d
but that is china language
i attached image about some routine
i would like to get a hint about this routine ~
-
I tried http://babelfish.altavista.com/ to translate but did not get it to work.
The routine looks like it's a group hatch routine. I can't tell any more than that.
-
It looks like you're doing a "solid" hatch. First: Selecting with a window from the left to right it hatches only the enclosed items. second: Selecting with the crossing window (from right to left) it hatches all crossed items.
If you do the second window, of course the first was superfluous, unless you don't have "create seperate hatches" enabled and wanted to double hatch the columns for some obscure reason.
-
It could be selecting objects on a specific layer, then you wouldn't have that problem of separate hatches.
-
Yeah, could be a lot of things. One thing's for sure: I couldn't read the menus. :roll:
-
reading the command line
the user is starting with the command tw then repeating the command for each selection set by entering cw?
I beleive they are two separate routines depending on the entity/object type.
-
I saw that, but decided not to respond because they are most likely different functions within the same program. I was thinking dussla was aware of that, but who knows.
-
Yes the "tw" seems to be using standard object selection sets (maybe short for True Window?) window selection and "cw" uses the right to left (Crossing Window).
Both appear to use different layer/color selections to apply.
Could very well be entity type selections bylayer, closed polylines, with solid/fill detection even.
-
Prompt Translation:
Command: TC
"Column Hatch V2.0"
"[H/Hide Hatch | S/Show Hatch | F/Column Hatch | B/Set Hatch draworder back | E/Erase Hatch] <F>"
Command: CW
"Wall Hatch V2.0"
"[H/Hide Hatch | S/Show Hatch | F/Column Hatch | B/Set Hatch draworder back | E/Erase Hatch] <F>"
That is my mother language. haha
BTW: The function is also very simple, all Columns and Walls r closed polylines, so the routine will use solid to fill the selected Columns or Walls and change the hatches to a certain predefined layer.
-
I was always curious, does the language read vertically?
If so, how does the horizontal command line work for them? :lmao:
Actually it would seem a vertical command line would be more intuitive off to the side if it read more easily.
I wonder if it has been used that way. Just one of those silly things I ponder....:ugly: