.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Problem when insert an rotated dimensio

3 REPLIES 3
Reply
Message 1 of 4
Anonymous
267 Views, 3 Replies

Problem when insert an rotated dimensio

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)
3 REPLIES 3
Message 2 of 4
Anonymous
in reply to: Anonymous

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)
Message 3 of 4
Anonymous
in reply to: Anonymous

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)
Message 4 of 4
Anonymous
in reply to: Anonymous

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)

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost