Here is what I found in the Forum：
ITxPlanningObject oRobotProto = pObject.GetField("prototype") as ITxPlanningObject;
if (oRobotProto == null) return "";
// get 3D representation
ITxPlanningObject r3d = oRobotProto.GetField("threeDRep") as ITxPlanningObject;
if (r3d == null) return "";
// get 3D file
ITxPlanningObject pmFile = r3d.GetField("file") as ITxPlanningObject;
if (pmFile == null) return "";
string sPrototypeFile = pmFile.GetField("fileName") as string;
FilePath = sPrototypeFile;
Where can I find the "prototype" 、"threeDRep"、"file"、"fileName" in the help document? and other fieldnames？
I´m not 100% sure but you can try the following:
Open eM-Planner -> do not load a project -> Tools tab -> Administrator Tools -> Customization.
Here you will see all object from your current customization and all the define classes.
Another way could be. From Navigation Tree select any type you want e.g. ToolPrototype -> File -> Import/Export -> Export Oject -> select *.ppd as file extension.
This file you can open with any editor.
thanks for your reply
I can find out the fieldnames in ppd.
but i found another problem ,To use the "GetField" method,the model must be loaded first,otherwise the pd will automatically exit.