Guest balajibth84 Posted October 20, 2010 Posted October 20, 2010 Hai Here Balaji...Actually we are using the 5 type of scales...Like Scale 1,1.5,2,3,4..After scale we cannt able to find out which one is scaled...Bcoz 1 and 1.5 scale is for looking small deviation only...so through lisp i am picking that entity means its need to show its scaled or not..And scaled means how much its scaled..this detail its possible????through code??any code for this??? Quote
BlackBox Posted October 20, 2010 Posted October 20, 2010 Balaji, are you asking for someone to write you code... again? "No [CODE] for You!" "Come back one year!" Edit: Look into DXF codes 41, 42, and 43... then write some code yourself... and use code tags! Quote
Guest balajibth84 Posted October 20, 2010 Posted October 20, 2010 i dont know the code creation...so only i am asking....man plz try to help me Quote
BlackBox Posted October 20, 2010 Posted October 20, 2010 Look into DXF codes 41, 42, and 43... then write some code yourself... and use code tags! i dont know the code creation...so only i am asking....man plz try to help me ... I already did. Quote
Guest balajibth84 Posted October 20, 2010 Posted October 20, 2010 DXF codes 41, 42, and 43 where its availble??Plz tell exact path Quote
BlackBox Posted October 20, 2010 Posted October 20, 2010 DXF codes 41, 42, and 43 where its availble??Plz tell exact path Look for the entget in the car. It *might* be sitting in the cdr, next to assoc and his DXF friend. Quote
Guest giscad84 Posted October 21, 2010 Posted October 21, 2010 hay RenderMan and balaji i think its possible to findout? Quote
paulmcz Posted October 21, 2010 Posted October 21, 2010 Once the entity is scaled (in model space), it becomes a new entity. As far as I know, there is no way to find out if any entity has been scaled or not. If you want to find out a scale of a viewport, you will be able to do it by dividing values of assoc 41 and 45 of that viewport's dxf code. But again, it won't to tell you if that was changed previously. Quote
BlackBox Posted October 22, 2010 Posted October 22, 2010 Once the entity is scaled (in model space), it becomes a new entity. As far as I know, there is no way to find out if any entity has been scaled or not. The one exception to that statement is blocks (including external references). For example, it is easy to identify if a block has been scaled, as I described above. If not using DXF group codes, one could simply use the *EffectiveScaleFactor, and/or *ScaleFactor properties (for X, Y, Z respectively) given a BlockObject. Quote
Lt Dan's legs Posted October 22, 2010 Posted October 22, 2010 Look for the entget in the car. It *might* be sitting in the cdr, next to assoc and his DXF friend. :lol: Quote
BlackBox Posted October 22, 2010 Posted October 22, 2010 :lol: I may have to consider replying to all code questions in this format... I see it as a 'lost art' of sorts. Glad you appreciate the laughable value, bud. Quote
Sweety Posted October 22, 2010 Posted October 22, 2010 Look for the entget in the car. It *might* be sitting in the cdr, next to assoc and his DXF friend. So they must be having a cup of tea together . :lol: Avery nice explainations for you Renderman. I liked them Quote
BlackBox Posted October 22, 2010 Posted October 22, 2010 So they must be having a cup of tea together . :lol: Avery nice explainations for you Renderman. I liked them What's life without a bit of levity every now and then...!? :wink: Quote
Sweety Posted October 22, 2010 Posted October 22, 2010 DXF codes 41, 42, and 43 where its availble??Plz tell exact path Do you mean by the word (scale) the height of text(s) ? I couldn't get you well. Regards. Quote
Sweety Posted October 22, 2010 Posted October 22, 2010 or a block What did you understand from her start thread ? Really I don't know . Quote
alanjt Posted October 22, 2010 Posted October 22, 2010 Block entity data dump (entget (car (entsel))): (-1 . <Entity name: 7effa6c0>) (0 . "INSERT") (330 . <Entity name: 7ef9ccf8>) (5 . "533D8") (100 . "AcDbEntity") (67 . 0) (410 . "Model") (8 . "C-STRM-STRC") (100 . "AcDbBlockReference") (2 . "P6") (10 2.03439e+006 510262.0 0.0) [color=red](41 . 1.0) "X" (42 . 1.0) "Y" (43 . 1.0) "Z"[/color] (50 . 0.0) (70 . 0) (71 . 0) (44 . 0.0) (45 . 0.0) (210 0.0 0.0 1.0) Quote
BlackBox Posted October 22, 2010 Posted October 22, 2010 Block entity data dump (entget (car (entsel))): (-1 . <Entity name: 7effa6c0>) (0 . "INSERT") (330 . <Entity name: 7ef9ccf8>) (5 . "533D8") (100 . "AcDbEntity") (67 . 0) (410 . "Model") (8 . "C-STRM-STRC") (100 . "AcDbBlockReference") (2 . "P6") (10 2.03439e+006 510262.0 0.0) [color=red](41 . 1.0) "X" (42 . 1.0) "Y" (43 . 1.0) "Z"[/color] (50 . 0.0) (70 . 0) (71 . 0) (44 . 0.0) (45 . 0.0) (210 0.0 0.0 1.0) ... It's as if I don't even know you, Alan. Tired of seeing this in the 'What's New' list? lol Quote
alanjt Posted October 22, 2010 Posted October 22, 2010 Tired of seeing this in the 'What's New' list? lolLoLClose enough to what I'm tired of. Of course, I guess it's like a stray animal. If you continue to feed them, they'll keep coming back. Quote
BlackBox Posted October 22, 2010 Posted October 22, 2010 LoLClose enough to what I'm tired of. Of course, I guess it's like a stray animal. If you continue to feed them, they'll keep coming back. Lol That's why I think I'll start answering in 'Story Form' instead. ... it seems to be a hit. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.