Author Topic: Modify Dimension style  (Read 1354 times)

0 Members and 1 Guest are viewing this topic.

Coder

  • Swamp Rat
  • Posts: 827
Modify Dimension style
« on: May 08, 2016, 06:53:41 AM »
Hello guys.

I am trying to modify a dimension style like below:

1- Suppress Dimension lines ( Dim line 1 and Dim line 2).
2- Text Placement vertical to ( Below ).

If I call the system variable, a new override dimension style would be created and this is what I don't want.
I tried to dump the DimStyle but it seems that it does not have functions to allow me to modify the style.

Thanks in advance.

roy_043

  • Water Moccasin
  • Posts: 1895
  • BricsCAD 18
Re: Modify Dimension style
« Reply #1 on: May 08, 2016, 03:58:17 PM »
You can either use entmod or the CopyFrom method.

Coder

  • Swamp Rat
  • Posts: 827
Re: Modify Dimension style
« Reply #2 on: May 09, 2016, 12:17:36 AM »
Thank you roy for your reply.

Can you please give an example ?

kdub_nz

  • Mesozoic keyThumper
  • SuperMod
  • Water Moccasin
  • Posts: 2148
  • class keyThumper<T>:ILazy<T>
Re: Modify Dimension style
« Reply #3 on: May 09, 2016, 02:03:45 AM »
Start Here :

Called Kerry in my other life
Retired; but they dragged me back in !

I live at UTC + 13.00

---
some people complain about loading the dishwasher.
Sometimes the question is more important than the answer.

roy_043

  • Water Moccasin
  • Posts: 1895
  • BricsCAD 18
Re: Modify Dimension style
« Reply #4 on: May 09, 2016, 04:34:40 AM »
... Or read the docs.

Coder

  • Swamp Rat
  • Posts: 827
Re: Modify Dimension style
« Reply #5 on: May 09, 2016, 08:09:59 AM »
... Or read the docs.

I already have a good information about the function CopyFrom thanks.

But I would like to know how to use dxf with entmod, if you can give an example I would be very thankful.

roy_043

  • Water Moccasin
  • Posts: 1895
  • BricsCAD 18
Re: Modify Dimension style
« Reply #6 on: May 09, 2016, 09:25:06 AM »
... Or read the docs.

I already have a good information about the function CopyFrom thanks.

But I would like to know how to use dxf with entmod, if you can give an example I would be very thankful.
https://www.theswamp.org/index.php?topic=41211.msg463666#msg463666

Coder

  • Swamp Rat
  • Posts: 827
Re: Modify Dimension style
« Reply #7 on: May 09, 2016, 09:40:16 AM »
Thank you roy, and Kerry for your kind replies and patience.