.NET

Reply
*GPaolo
Message 1 of 4 (81 Views)

Problem when insert an rotated dimensio

81 Views, 3 Replies
05-24-2006 08:53 AM
I don't understand why i insert a rotateddimension and after i see a
aligneddimension.
Some ideas?

Thank's
GPaolo

Dim DimObj As New AcDb.RotatedDimension




DimObj.TextPosition = New AcGe.Point3d(P5(0), P5(1), P5(2))


DimObj.XLine1Point = New AcGe.Point3d(p1(0), p1(1), p1(2))

DimObj.XLine2Point = New AcGe.Point3d(p2(0), p2(1), p2(2))

DimObj.DimLinePoint = DimObj.TextPosition

Return HmDotNet.HmTool.hmInsEnt(DimObj)
*Tony Tanzillo
Message 2 of 4 (81 Views)

Re: Problem when insert an rotated dimensio

05-24-2006 08:57 AM in reply to: *GPaolo
It's a bug. The default constructor for RotatedDimension
creates an AlignedDimension object.

To work around it, don't use the default constructor.
Instead, use the one that takes parameters.

--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006/2007
http://www.acadxtabs.com

"GPaolo" wrote in message news:5184850@discussion.autodesk.com...
I don't understand why i insert a rotateddimension and after i see a
aligneddimension.
Some ideas?

Thank's
GPaolo

Dim DimObj As New AcDb.RotatedDimension




DimObj.TextPosition = New AcGe.Point3d(P5(0), P5(1), P5(2))


DimObj.XLine1Point = New AcGe.Point3d(p1(0), p1(1), p1(2))

DimObj.XLine2Point = New AcGe.Point3d(p2(0), p2(1), p2(2))

DimObj.DimLinePoint = DimObj.TextPosition

Return HmDotNet.HmTool.hmInsEnt(DimObj)
*GPaolo
Message 3 of 4 (81 Views)

Re: Problem when insert an rotated dimensio

05-24-2006 10:43 PM in reply to: *GPaolo
what do you mean?
an example,please?
Many thank's
Gpaolo

"Tony Tanzillo" ha scritto nel messaggio
news:5184843@discussion.autodesk.com...
It's a bug. The default constructor for RotatedDimension
creates an AlignedDimension object.

To work around it, don't use the default constructor.
Instead, use the one that takes parameters.

--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006/2007
http://www.acadxtabs.com

"GPaolo" wrote in message
news:5184850@discussion.autodesk.com...
I don't understand why i insert a rotateddimension and after i see a
aligneddimension.
Some ideas?

Thank's
GPaolo

Dim DimObj As New AcDb.RotatedDimension




DimObj.TextPosition = New AcGe.Point3d(P5(0), P5(1), P5(2))


DimObj.XLine1Point = New AcGe.Point3d(p1(0), p1(1), p1(2))

DimObj.XLine2Point = New AcGe.Point3d(p2(0), p2(1), p2(2))

DimObj.DimLinePoint = DimObj.TextPosition

Return HmDotNet.HmTool.hmInsEnt(DimObj)
*GPaolo
Message 4 of 4 (81 Views)

Re: Problem when insert an rotated dimensio

05-25-2006 06:08 AM in reply to: *GPaolo
Thank tony i have understand.
Ciao
Gpaolo

"Tony Tanzillo" ha scritto nel messaggio
news:5184843@discussion.autodesk.com...
It's a bug. The default constructor for RotatedDimension
creates an AlignedDimension object.

To work around it, don't use the default constructor.
Instead, use the one that takes parameters.

--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006/2007
http://www.acadxtabs.com

"GPaolo" wrote in message
news:5184850@discussion.autodesk.com...
I don't understand why i insert a rotateddimension and after i see a
aligneddimension.
Some ideas?

Thank's
GPaolo

Dim DimObj As New AcDb.RotatedDimension




DimObj.TextPosition = New AcGe.Point3d(P5(0), P5(1), P5(2))


DimObj.XLine1Point = New AcGe.Point3d(p1(0), p1(1), p1(2))

DimObj.XLine2Point = New AcGe.Point3d(p2(0), p2(1), p2(2))

DimObj.DimLinePoint = DimObj.TextPosition

Return HmDotNet.HmTool.hmInsEnt(DimObj)
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.