Mark Propst
Usenet Archive
- Joined
- May 2, 2000
- Messages
- 492
- Reaction score
- 0
Here's a simplified snip from a little utility function ;pick a block ;pick a line ;divide line with blocks ;basically the divide command without having to know the block name (defun c:db ( / blk blkname method lin1 which title def ext flags ptinview lastent entlist) (setq blk (car(entsel "\npick a block"))) (setq blkname (getblkname blk));custom func - you get the idea (setq lin1 (car(entsel (strcat "\npick a line to divide with " blkname)))) (setq db:num (g:int "\nenter number of divisions" db:num));custom func - getint with default (command "divide" lin1 "b" blkname "y" db:num)
)
since i'm being lazy and using command, instead of calcing points i thought it would work in non-world ucs but , no! do I have to do it the hard way and calculate points and then try to figure out that trans business finally???
tia
Mark
)
since i'm being lazy and using command, instead of calcing points i thought it would work in non-world ucs but , no! do I have to do it the hard way and calculate points and then try to figure out that trans business finally???
tia
Mark