Did something get broken in R18 or am I just being dumb?
Here is the outline, I created a UDF and typed it which stored the .GScript to my ARm folder in "KnowledgeTypesCustom" see GScript Below.
So i now want to consume the new type in a rule so create the rule below and i get "Syntax Error line 10: invalid attribute used ; #__________" when i try and display any of my new feature attributes any standard mechanical feature attributes work.
Madaxe
Let MyList(List)
Let MyUDF(MyCylinderFeature)
MyList = `Part2`.Query("MyCylinderFeature",""
For MyUDF inside MyList
{
Message("#MyUDF.Name)
Message("#MyUDF.`BOSS O.D.`) 'BROKEN HERE
}
UserDefinedType isa Package
{
MyCylinderFeature isa MechanicalFeature
{
`BOSS HEIGHT` = 0 , Type : `LENGTH` ;
`BOSS O.D.` = 0 , Type : `LENGTH` ; 'THIS ATTRIBURE DOES NOT WORK
`ROTATION ANGLE` = 0 , Type : `ANGLE` ;
`UDF Color` = 0 , Type : `String` ;
`Select Line` = 0 , Type : `Feature` NLSName : `Select Line` ;
`Select Point` = 0 , Type : `Feature` NLSName : `Select Point` ;
}
}