To add dimensions to your drawing you need to create points on the part.
Go into C:\Table\Factory and open Block_inch.ipt in Inventor.
In the 3D Model tab select Points and select a corner on the block. This will make a point and give it a name, "Work Point1" by default. Make points for the remaining corners and make a note or sketch of the block and points for later reference. Save and close Block_inch.ipt.
Make a new design, name it GeneralDimensionTable and add InvGeneralDimension as a mixin. Drag GeneralDimensionTable into the Model window and into TopViews0. Set the Quantity to 2.
Add Rule values to GeneralDimensionTable
In GeneralDimensionTable/Child Tab/ add these values:
RULE NAME |
TYPE |
ADD VALUE |
CATEGORY |
FLAGS |
invPart1 |
String |
R.rootModel.Tables.Tables0. TableTopGroup. TableTop0.invName |
Inventor |
Cached Required |
invNamedFeature1 |
String |
["Work Point1", "Work Point1"] [child.index] |
Inventor |
Cached Required |
invNamedFeature2 |
String |
["Work Point2", "Work Point6"] [child.index] |
Inventor |
Cached Required |
invNamedFeature3 |
String |
"" |
Inventor |
Cached |
invDimensionType |
String |
"kAlignedDimensionType" |
Inventor |
Cached Required |
invArrowHeadsInside |
Boolean |
true |
Inventor |
Cached |
invPart2 |
String |
R.rootModel.Tables.Tables0. TableTopGroup. TableTop0.invName |
Inventor |
Cached Required |
invIntentOne |
String |
"kStartPointIntent" |
Inventor |
Cached Required |
invIntentTwo |
String |
"kEndPointIntent" |
Inventor |
Cached |
invLeaderFromCenter |
Boolean |
true |
Inventor |
Cached Required |
invPosition |
Point |
[p(12,17.5), p(3,23)][child.index] |
Inventor |
Cached |
invKind |
String |
"LinearDimension" |
Inventor |
Cached Required |
invSingleDimensionLine |
Boolean |
true |
Inventor |
Cached |
invCenterMarkOrLine1Visible |
Boolean |
true |
Inventor |
Cached |
invCenterMarkOrLine2Visible |
Boolean |
true |
Inventor |
Cached |
invCenterMarkOrLine3Visible |
Boolean |
true |
Inventor |
Cached |
invIntentThree |
String |
"kEndPointIntent" |
Inventor |
Cached |
invPart3 |
String |
R.rootModel.Tables.Tables0. TableTopGroup. TableTop0.invName |
Inventor |
Cached |
invStyle |
String |
"" |
Inventor |
Cached |
invFormattedText |
String |
" Table Top" |
Inventor |
Cached |
invHideValue |
Boolean |
false |
Inventor |
Cached
|
GeneralDimensionTable output example: