Diameter/Radius dimension
Moderators: SDS, support, admin
Diameter/Radius dimension
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.
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.
Re: Diameter/Radius dimension
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
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
Chat support on Skype: cadsofttools.support
Re: Diameter/Radius dimension
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.
Our company has bought CAD VCL recently for creating some CAM app and this causes it almost unusable.
Re: Diameter/Radius dimension
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
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
Chat support on Skype: cadsofttools.support
Re: Diameter/Radius dimension
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?
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?
Re: Diameter/Radius dimension
Definitely it is a bug. TsgDXFDimension.Associated property is not saved to DXF/DWG file in CAD VCL.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?
Mikhail
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support
Chat support on Skype: cadsofttools.support
Re: Diameter/Radius dimension
And what about diameter/radius/angular dimensions? Are they planned?
Re: Diameter/Radius dimension
Yes, we are planning to add a support of such dimensions in the next versions.mitzi wrote:And what about diameter/radius/angular dimensions? Are they planned?
Mikhail
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support
Chat support on Skype: cadsofttools.support