anfaloni
Guest
Hey, guys, I'm trying to solve this bow, but I don't go out.
I have a block whose name is "hippo" and that will have all its features including the coordinates I read to be (10 . 0.0 0.0 0.0)
Tell me where I'm wrong because I don't know where to bang my head. .
(setq var (car))
select the block and the var variable acquires the block ownership string.
in fact: (entget a) I see how to follow
((-1). <nome 7f74721d360="" entità:="">) (0 . "insert") (330 . <nome 7f7472069f0="" entità:="">) (5 . "583a6") (100 . "acdbentity") (67 . 0) (410 . "model") (48 . 0.5) (100 . "acdbblockreference") (66 . 1) (2 . "1") (10 0.0 0.0) (42 . 1.0) (43 . 1.0) (50 . 0.0) (70 . 0) (44 .
I would now like to ask two questions:
1) but why and I say why if I write: (subst (10 100.0 100.0 0.0) (10 0.0 0.0 0.0 0.0) var) gives me error and does not allow me to move the block into the new coordinate?
2) Why, knowing that the block is called pippo, do I have to pass first by entsel and difine var rather than define (setq var "pippo")?
3) why if I define (setq coord "100,100,0") using command I can't tell pippo to move in coord?
(command "_move" pippo coord")
certainly mistake and probably also conceptually, for this I ask to a more experienced eye like your where I mistake
thanks for availability!</nome></nome>
I have a block whose name is "hippo" and that will have all its features including the coordinates I read to be (10 . 0.0 0.0 0.0)
Tell me where I'm wrong because I don't know where to bang my head. .
(setq var (car))
select the block and the var variable acquires the block ownership string.
in fact: (entget a) I see how to follow
((-1). <nome 7f74721d360="" entità:="">) (0 . "insert") (330 . <nome 7f7472069f0="" entità:="">) (5 . "583a6") (100 . "acdbentity") (67 . 0) (410 . "model") (48 . 0.5) (100 . "acdbblockreference") (66 . 1) (2 . "1") (10 0.0 0.0) (42 . 1.0) (43 . 1.0) (50 . 0.0) (70 . 0) (44 .
I would now like to ask two questions:
1) but why and I say why if I write: (subst (10 100.0 100.0 0.0) (10 0.0 0.0 0.0 0.0) var) gives me error and does not allow me to move the block into the new coordinate?
2) Why, knowing that the block is called pippo, do I have to pass first by entsel and difine var rather than define (setq var "pippo")?
3) why if I define (setq coord "100,100,0") using command I can't tell pippo to move in coord?
(command "_move" pippo coord")
certainly mistake and probably also conceptually, for this I ask to a more experienced eye like your where I mistake
thanks for availability!</nome></nome>