Inventor Engineer-To-Order (Read-Only)
Welcome to Autodesk’s Inventor ETO Forums. Share your knowledge, ask questions, and explore popular Inventor ETO topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Disappearing Dimensions

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
Anonymous
672 Views, 2 Replies

Disappearing Dimensions

I found that for some reason, while creating drawings with Intent, some dimensions disappear. The first time, when the drawing is created all dimensions are show, but when the drawing is created a second time (because of any modification on the assembly or because I deactivate and reactivate a check box asking for the drawing to be made) these dimensions disappear. The dimensions that disappear measure the distance between the first two cubes in a variable series of cubes (the number of cubes is always equal or bigger than two).

 

I have been trying to solve this problem for more than a week without success but I found out that if I got into the folder that stores the Intent Drawings for that project and delete all, the drawing is created from zero again and the dimension appear, but once again only the first time the drawing is created. I don't know if anyone had any similar problem. I have the script if anyone is willing to check it to help me.

 

Thank You.

2 REPLIES 2
Message 2 of 3
Anonymous
in reply to: Anonymous

Maybe is easier to explain my problem if I show you what happens.

When I delete the drawings and make the drawing again for the first time everything is normal as shown below

DWGwithDimensions.JPG

But when I make any modification or just deactivate and reactivate the drawing some dimensions are gone as shown in this second image

DWGwithoutDimensions.JPG

I cant figure out why those specific dimensions are gone and why they are gone only when the drawing is redone.

 

Maybe it will be too long to read but here I paste the part of the code that is relevant to my problem. The dimensions that disppear are the ones in bold.

 

 

 

Child BaseView As :IvBaseView
sheet
= Me
viewOrientation
= :Front
model
= Parent.parent
viewScale
= ScaleModel
origin
= MainViewOrigin
End Child

Child LeftView As :IvProjectedView
ignorePosition?
=False
sheet
= Me
parentView
= BaseView
origin
= BaseView.origin + Vector(Width/2,0,0)
viewScale
= ScaleModel
End Child

Child Dim_LeftToRightCubeFront As :IvLinearDimension
part1
= Root.Cube
entity1
= "Right_Face"
part2
= Root.Cube
entity2
= "Left_Face"
view
= BaseView
centerText?
=True
textOrigin
= MainViewOrigin + Vector(0,ModelHeight*ScaleModel/2+.5,0)
dimType
= :horizontal
End Child

Child Dim_LeftToRightSupportFront As :IvLinearDimension
part1
= Root.Support_1
entity1
= "XZ Plane"
part2
= Root.Support_3
entity2
= "XZ Plane"
view
= BaseView
centerText?
=True
textOrigin
= MainViewOrigin - Vector(0,ModelHeight*ScaleModel/2+.5,0)
dimType
= :horizontal
End Child


Child Dim_TopToBottomCubeFront As :IvLinearDimension
part1
= Root.Cube
entity1
= "Top_Face"
part2
= Root.Base
entity2
= "Top_Face"
view
= BaseView
centerText?
=True
textOrigin
= MainViewOrigin + Vector(ModelLength*ScaleModel/2+.5,0,0)
dimType
= :Vertical
End Child

Child Dim_TopToBottomBaseFront As :IvLinearDimension
part1
= Root.Base
entity1
= "Top_Face"
part2
= Root.Base
entity2
= "Bottom_Face"
view
= BaseView
centerText?
=True
textOrigin
= MainViewOrigin + Vector(-(ModelLength*ScaleModel/2+.5),0,0)
dimType
= :Vertical
End Child

Child Dim_TopToBottomAllFront As :IvLinearDimension
part1
= Root.Cube
entity1
= "Top_Face"
part2
= Root.Base
entity2
= "Bottom_Face"
view
= BaseView
centerText?
=True
textOrigin
= MainViewOrigin + Vector(ModelLength*ScaleModel/2+1,0,0)
dimType
= :Vertical
End Child

Child Dim_LeftToRightCubeLeft As :IvLinearDimension
part1
= Root.Cube
entity1
= "Back_Face"
part2
= Root.Cube
entity2
= "Front_Face"
view
= LeftView
centerText?
=True
textOrigin
= MainViewOrigin + Vector(0,ModelHeight*ScaleModel/2+.5,0)
dimType
= :horizontal
End Child

Child Dim_LeftToRightBaseLeft As :IvLinearDimension
part1
= Root.Base
entity1
= "Back_Face"
part2
= Root.Base
entity2
= "Front_Face"
view
= LeftView
centerText?
=True
textOrigin
= MainViewOrigin - Vector(0,ModelHeight*ScaleModel/2+1,0)
dimType
= :horizontal
End Child

Child Dim_HandleToBottomAllFront As :IvLinearDimension
part1
= Root.Base
entity1
= "Bottom_Face"
part2
= Root.Handle_1
entity2
= "XZ Plane"
view
= LeftView
centerText?
=True
textOrigin
= MainViewOrigin + Vector(Width/2,0,0) - Vector(ModelWidth*ScaleModel/2+1,0,0)
dimType
= :Vertical
End Child


Child Dim_LeftToRightSupportLeft As :IvLinearDimension
part1
= Root.Support_1
entity1
= "YZ Plane"
part2
= Root.Support_2
entity2
= "YZ Plane"
view
= LeftView
centerText?
=True
textOrigin
= MainViewOrigin - Vector(0,ModelHeight*ScaleModel/2+.5,0)
dimType
= :horizontal
End Child
Message 3 of 3
Anonymous
in reply to: Anonymous

Nevermind, I found a way to keep the dimension. I just did as if I was placing the dimension on Inventor: First I did two center marks (centerlines or projected axes would probably work for these example, I haven't tested) and I placed the dimension on those center marks.

 

I'm sorry to have bothered you all and I hope my solution is helpful to someone else

 

Thank you

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

Post to forums  

Autodesk Design & Make Report