PK ͻt. META-INF/PK ͻt.35DDMETA-INF/MANIFEST.MFManifest-Version: 1.0 Created-By: 1.3.0 (Sun Microsystems Inc.) PK »t.?9KickOff_VRML.java import com.ptc.cipjava.*; import com.ptc.pfc.pfcSession.*; import com.ptc.pfc.pfcGlobal.*; import com.ptc.pfc.pfcCommand.*; import com.ptc.pfc.pfcModel.*; import com.ptc.pfc.pfcSolid.*; import com.ptc.pfc.pfcModelItem.*; public class KickOff_VRML { static Session curSession; static final String MSGFILE = "vrml.txt"; public static void start() { try { curSession = pfcGlobal.GetProESession(); UICommand inputCommand = curSession.UICreateCommand("Make VRML", new VRML_Listener(curSession)); curSession.UIAddButton(inputCommand, "Applications", "Applications.psh_util_pproc", "Make_VRML", "Create_VRML", MSGFILE); } catch(jxthrowable x) { System.out.println("Exception:"+x); } } public static void stop() {} } class VRML_Listener extends DefaultUICommandActionListener { Session session; Model model; final String VRMLdirectory = ".\\vrml"; String file_name=""; VRMLModelExportInstructions vrml_instrs; public VRML_Listener(Session sess) { session = sess; } public void OnCommand () { ModelType modelType = ModelType.MDL_PART; try { model=session.GetCurrentModel(); vrml_instrs = pfcModel.VRMLModelExportInstructions_Create(VRMLdirectory); model.Export(file_name, vrml_instrs); } catch (jxthrowable x) { System.out.println ("Caught exception: "+x); x.printStackTrace (); } } } PK ɻt.`KickOff_VRML.class-S0145>?R7CEFGIJKL     ! " # $ % & /) /+ /- 6' A* B. D, H9 M; N- Q("()Lcom/ptc/pfc/pfcSession/Session;()Ljava/lang/String;()V(Lcom/ptc/pfc/pfcCommand/UICommand;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V#(Lcom/ptc/pfc/pfcSession/Session;)V,(Ljava/lang/Object;)Ljava/lang/StringBuffer;(Ljava/lang/String;)Vf(Ljava/lang/String;Lcom/ptc/pfc/pfcCommand/UICommandActionListener;)Lcom/ptc/pfc/pfcCommand/UICommand; ApplicationsApplications.psh_util_pprocCode ConstantValue Create_VRML Exception:GetProESession KickOff_VRMLKickOff_VRML.java Lcom/ptc/pfc/pfcSession/Session;LineNumberTableLjava/io/PrintStream;Ljava/lang/String;MSGFILE Make VRML Make_VRML SourceFile UIAddButtonUICreateCommand VRML_Listenerappendcom/ptc/cipjava/jxthrowablecom/ptc/pfc/pfcGlobal/pfcGlobalcom/ptc/pfc/pfcSession/Session curSessionjava/io/PrintStreamjava/lang/Objectjava/lang/StringBufferjava/lang/SystemoutprintlnstartstoptoStringvrml.txt!H9=<3/)2*: O)2I YK*KY*.1 ::!#%').12H P)2: @8PK ɻt.RVVRML_Listener.class-b09;@MPQRSTUWXYZ  ! " # $ % & ' ( ) * + , - . / :3 :7 >8 ?1 IC L6 NH O5 VH [B \G ]3 ^7 _E `2 aD()Lcom/ptc/pfc/pfcModel/Model;()Ljava/lang/String;()V#(Lcom/ptc/pfc/pfcSession/Session;)V,(Ljava/lang/Object;)Ljava/lang/StringBuffer;F(Ljava/lang/String;)Lcom/ptc/pfc/pfcModel/VRMLModelExportInstructions;(Ljava/lang/String;)V>(Ljava/lang/String;Lcom/ptc/pfc/pfcModel/ExportInstructions;)V.\vrmlCaught exception: Code ConstantValueExportGetCurrentModel KickOff_VRMLKickOff_VRML.javaLcom/ptc/pfc/pfcModel/Model; Lcom/ptc/pfc/pfcModel/ModelType;2Lcom/ptc/pfc/pfcModel/VRMLModelExportInstructions; Lcom/ptc/pfc/pfcSession/Session;LineNumberTableLjava/io/PrintStream;Ljava/lang/String;MDL_PART OnCommand SourceFile"VRMLModelExportInstructions_Create VRML_Listener VRMLdirectoryappendcom/ptc/cipjava/jxthrowable5com/ptc/pfc/pfcCommand/DefaultUICommandActionListenercom/ptc/pfc/pfcModel/Modelcom/ptc/pfc/pfcModel/ModelTypecom/ptc/pfc/pfcModel/pfcModel"com/ptc/pfc/pfcSession/BaseSession file_namejava/io/PrintStreamjava/lang/StringBufferjava/lang/Systemjava/lang/ThrowablemodeloutprintStackTraceprintlnsessiontoString vrml_instrs _E[BNH=VHaD:4<>****+F+' (,+J3<JL******M Y,,+.F* 13467+3.9/:E;I/KAPK ͻt. META-INF/PK ͻt.35DD+META-INF/MANIFEST.MFPK »t.?9KickOff_VRML.javaPK ɻt.`KickOff_VRML.classPK ɻt.RV| VRML_Listener.classPK=;