demoEnumerateParameters.py
2 Creates all geometric objects and lists their parameters.
8 if cd.SuperClassId == MaxPlus.SuperClassIds.GeomObject:
9 print 'Create class ', cd.Name
12 for p
in o.ParameterBlock:
13 type_name = MaxPlus.FPTypeGetName(p.Type)
15 print ' parameter', i, p.Name, p.Type, type_name, p.Value
18 etype, evalue = sys.exc_info()[:2]
19 print 'error ', etype, evalue