1)用Application.GetSessionService获取Session Service Object
VisuServices oVisuService= CATIA.GetSessionService("VisuServices")
Session Service Identifier MATPLMService MATPLMService OlpTranslatorHelper OlpTranslatorHelper PnOService PnOService PLMNewService PLMNewService PLMOpenService PLMOpenService PLMPropagateService PLMPropagateService PLMScriptService PLMScriptService ProductSessionService ProductSessionService SearchServices Search SimInitializationService SimInitializationService SIMPLMService SimPLMService VisuServices VisuServices
2)用Editor.GetService获取Editor Service Object.
DrawingService oDrawingService = CATIA.ActiveEditor.GetService("CATDrawingService")
Editor Service Identifier DrawingGenService CATDrawingGenService DrawingService CATDrawingService FCBService FCBService FittingService FittingService InertiaBoxService InertiaBoxService InertiaService InertiaService InterferenceServices InterferenceServices KnowledgeServices KnowledgeServices MeasurableService MeasurableService MeasureService MeasureService PCBService PCBService PlayerServices PlayerServices PLMProductService PLMProductService RfgService RfgService SectionService SectionService SimExecutionService SimExecutionService SimRepService SimRepService SimSimulationService SimSimulationService SrsInstantiateService SrsInstantiateService StrService StrService VALValidationService ValidationService