Hi...
Hope someone can help me on this issue...
I had some dimensions on a sheet created by Intent 2009. Everything was working fine.. Just a simpel Base View and a Section View next to it, with some main dimensions...
No I am migrating everything to AIAP 2010, but these dimensions are giving errors. The error message is:
An error was encountered while evaluating rule &&ViewShouldBeNHA, in part Root.IntentDWG.Sheet01.Dim_Flens_Breedte. View should be NHA
I have been trying a lot to get it working again, but I cannot figure out why this problem occurs..
Thanks in advance for your help! (see below for the code of the rules)
Kind regards,
Pim Saarloos
The code of the rule which is throwing the error looks like:
Child Dim_Flens_Breedte As :IvLinearDimension
view = RoosterBaseView
part1 = ViewModel.Flens.Flens_Standaard_B_1
entity1 = "Edge_2D_Bemating"
part2 = ViewModel.Flens.Flens_Standaard_B_2
entity2 = "Edge_2D_Bemating"
dimType = :horizontal
textOrigin = Point(GetX(RoosterBaseView.origin),GetY(RoosterBaseView.origin)- RoosterBaseView.height / 2 - 27,0)
End Child
The rule 'RoosterBaseView' look like:
Child RoosterBaseView As :IvBaseView
Model = ViewModel
viewOrientation = :Left
viewScale = 0.1
origin = Point(80,160,0)
End Child