Tharwat Posted July 31, 2010 Posted July 31, 2010 Hello, How can I update or change properties of a Dimension Style directly from Lisp codes ? Any idea or expansion methods would be highly appreciated. Thanks Tharwat Quote
Michaels Posted August 1, 2010 Posted August 1, 2010 I feel sorry, because nobody has an answer to your important question in this FORUM. Best regards, Quote
Kerry Brown Posted August 1, 2010 Posted August 1, 2010 I'd say it depends on what properties you want to change, Fair chance you change them the same way that you change any other property. What have you tried ?? [added] be specific. exactly what do you want? perhaps provide a sample of a drawing with a sample of the dimension you want to change. Do you want to change a style or an instance of a dimension? Quote
Tharwat Posted August 1, 2010 Author Posted August 1, 2010 Thanks for your reply . Actually I am usually receive lots of drawings that are included with lots of Dimension Styles which the properties of them are BY BLOCK. Things like Linetype , Lineweight, Color, Text and so on ....... Besides that, the size of the arrows and texts of dimension styles are so small or too big to the presentation of the drawing . So I would like to to control of all of Dimension styles within one time, of course if possible ? And I thought, it might be the FUNCTION (entmod) would control in all of them. For example this is the Standard Dimension Style in Autocad with its DXF codes. ((-1 . <Entity name: 7efc7b58>) (0 . "DIMENSION") (330 . <Entity name: 7efc9cf8>) (5 . "2C3") (100 . "AcDbEntity") (67 . 0) (410 . "Model") (8 . "0") (100 . "AcDbDimension") (2 . "*D4") (10 2073.58 4578.69 0.0) (11 1901.07 4580.82 0.0) (12 0.0 0.0 0.0) (70 . 32) (1 . "") (71 . 5) (72 . 1) (41 . 1.0) (42 . 345.02) (73 . 0) (74 . 0) (75 . 0) (52 . 0.0) (53 . 0.0) (54 . 0.0) (51 . 0.0) (210 0.0 0.0 1.0) (3 . "ISO-25") (100 . "AcDbAlignedDimension") (13 1728.56 4560.69 0.0) (14 2073.58 4560.69 0.0) (15 0.0 0.0 0.0) (16 0.0 0.0 0.0) (40 . 0.0) (50 . 0.0) (100 . "AcDbRotatedDimension")) I have read the DXF codes that are related to Dimensions but seems not that clear to me so far. I would like to have a strong start with it and I might be able to go forward. I hope so. My best regards Tharwat Quote
Tharwat Posted August 3, 2010 Author Posted August 3, 2010 Where is the Measurement Text in the above Dimension Style ? Quote
Kerry Brown Posted August 3, 2010 Posted August 3, 2010 Where is the Measurement Text in the above Dimension Style ? (42 . 345.02) and/or (1 . "") but you may want to look at this :- http://www.theswamp.org/index.php?topic=10317.msg131450#msg131450 Quote
Tharwat Posted August 3, 2010 Author Posted August 3, 2010 (42 . 345.02) and/or (1 . "") but you may want to look at this :- http://www.theswamp.org/index.php?topic=10317.msg131450#msg131450 Your post in theswamp is really great and professional way in programming . and the (1 . "") is empty I wonder why .So could you please tell me why ? Regards. Quote
Kerry Brown Posted August 3, 2010 Posted August 3, 2010 the (1 . "") is empty I wonder why .So could you please tell me why ? I have read the DXF codes that are related to Dimensions Have another look. Quote
Tharwat Posted August 3, 2010 Author Posted August 3, 2010 WAW .... so we have one text which is the correct measurement and the second which is the manual input by the user and not necessarily to be correct length .... Thank you Kerry, that was a very good lesson I got today. Tharwat 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.