Jump to content

Recommended Posts

Posted

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

Posted

I feel sorry, because nobody has an answer to your important question in this FORUM.

 

Best regards,

Posted

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?

Posted

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

Posted

Where is the Measurement Text in the above Dimension Style ?

Posted
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.

Posted

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

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...