Diameter/Radius dimension

Discuss and ask questions about CAD VCL (Delphi and C++ Builder).

Moderators: SDS, support, admin

Post Reply
mitzi
Posts: 7
Joined: 05 Jan 2015, 12:53

Diameter/Radius dimension

Post by mitzi » 07 Jan 2015, 16:24

Hi there,
I try to create diameter dimension. I set up Flags to 3, DefPoint, RadDefPoint and MiddlePoint to correct values. Dim style and color is also set. But nothing is drawn. Entity is created but has no name (only DIMENSION). Also Box property is empty. The same is for Flags 4,5 etc. I tried set Flags to value 32 added to base value, still the same result. Only Flags 0 and 1 (with appropriate point definitions) are drawn correctly. Where is problem?

And second question. What property TsgDXFDimension.Associated is for? How can i use it?

Thanks.

support
Posts: 3271
Joined: 30 Mar 2005, 11:36
Contact:

Re: Diameter/Radius dimension

Post by support » 08 Jan 2015, 17:42

Hello,

Unfortunately, CAD VCL doesn't support creating radial and diameter dimensions by using TsgDXFDimension class. TsgDXFDimension.Associated property allows to associate some entity (TsgDXFEntity type value) with a dimension.


Mikhail
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support

mitzi
Posts: 7
Joined: 05 Jan 2015, 12:53

Re: Diameter/Radius dimension

Post by mitzi » 08 Jan 2015, 18:50

Oh this is very unpleasant. Why don't you mention this fact in your documentation. It is serious issue. How can I dimension diameters, angles etc. then?
Our company has bought CAD VCL recently for creating some CAM app and this causes it almost unusable.

support
Posts: 3271
Joined: 30 Mar 2005, 11:36
Contact:

Re: Diameter/Radius dimension

Post by support » 08 Jan 2015, 19:55

Hello,

It is possible to create radial dimension by creating dimension line (TsgDXFLine), text (TsgDXFText) and dimension arrow (TsgDXFSolid) and grouping these entities into a block (TsgDXFBlock). But it is a workaround, of course.


Mikhail
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support

mitzi
Posts: 7
Joined: 05 Jan 2015, 12:53

Re: Diameter/Radius dimension

Post by mitzi » 09 Jan 2015, 09:41

But

1. I cannot apply any dimension style to such entity
2. It cannot be correctly resized like dimension
3. It cannot be associated with dimensioned entity
4. In resulting DXF/DWG it won't be DIMENSION. I cannot distribute such file.

So it is not appropriate alternative.

But CAD VCL can draw diameter/radius/angular dimensions correctly (gasket.dwg). So why there is problem with their creation?

And I also noticed that TsgDXFDimension.Associated property is not saved to DXF/DWG so that object binding is lost after save. Isn't it bug?

support
Posts: 3271
Joined: 30 Mar 2005, 11:36
Contact:

Re: Diameter/Radius dimension

Post by support » 12 Jan 2015, 18:29

mitzi wrote:And I also noticed that TsgDXFDimension.Associated property is not saved to DXF/DWG so that object binding is lost after save. Isn't it bug?
Definitely it is a bug. TsgDXFDimension.Associated property is not saved to DXF/DWG file in CAD VCL.


Mikhail
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support

mitzi
Posts: 7
Joined: 05 Jan 2015, 12:53

Re: Diameter/Radius dimension

Post by mitzi » 16 Jan 2015, 12:48

And what about diameter/radius/angular dimensions? Are they planned?

support
Posts: 3271
Joined: 30 Mar 2005, 11:36
Contact:

Re: Diameter/Radius dimension

Post by support » 16 Jan 2015, 19:37

mitzi wrote:And what about diameter/radius/angular dimensions? Are they planned?
Yes, we are planning to add a support of such dimensions in the next versions.


Mikhail
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support

Post Reply