My dimensioned drawings are failing in our Forge App. • When I insert the below view straight from the model without any illogic used in the drawing, the drawing updates, in Inventor and Forge. • When I use illogic for the dimensions, the model works fine in Inventor, but fails in Forge.
• I have tested with various ‘event triggers’ but all failed.
What am I doing wrong?
Also, if ActiveSheet is not recognised in Forge, what alternatives are available to me to:
• Activate a view based on a parameter selection • Scale a view • Set a view spacing to a corner or another view
Dim Sheet_1 = ThisDrawing.Sheets.ItemByName("Sheet:1")
Dim VIEW1 = Sheet_1.DrawingViews.ItemByName("VIEW3")
Dim namedGeometry1 = VIEW1.GetIntent("Via Lactea Non DS Fire Frame Template Parametric Liners-08-01:1","frame_bottom")
Dim namedGeometry2 = VIEW1.GetIntent("Framed All Around Glazed Overpanel-04:1","overpanel_top")
Dim genDims = Sheet_1.DrawingDimensions.GeneralDimensions
Dim linDim1 = genDims.AddLinear("Dimension 6", VIEW1.SheetPoint(1.5, 0), namedGeometry1, namedGeometry2)