unit klAPI7; // ************************************************************************ // // WARNING // ------- // The types declared in this file were generated from data read from a // Type Library. If this type library is explicitly or indirectly (via // another type library referring to this type library) re-imported, or the // 'Refresh' command of the Type Library Editor activated while editing the // Type Library, the contents of this file will be regenerated and all // manual modifications will be lost. // ************************************************************************ // // PASTLWTR : $Revision: 1.88 $ // File generated on 14.12.2004 14:20:12 from Type Library described below. // *************************************************************************// // NOTE: // Items guarded by $IFDEF_LIVE_SERVER_AT_DESIGN_TIME are used by properties // which return objects that may need to be explicitly created via a function // call prior to any access via the property. These items have been disabled // in order to prevent accidental use from within the object inspector. You // may enable them by defining LIVE_SERVER_AT_DESIGN_TIME or by selectively // removing them from the $IFDEF blocks. However, such items must still be // programmatically created via a method of the appropriate CoClass before // they can be used. // ************************************************************************ // // Type Lib: C:\Kompas_7_FIX\debug\LT\Exe\klAPI7.TLB (1) // IID\LCID: {0B83FE6B-0F4E-4931-AA7A-7D9FD3C063D4}\0 // Helpfile: C:\Kompas_7_FIX\debug\LT\Exe\sdk.hlp // DepndLst: // (1) v2.0 stdole, (C:\WINNT\System32\stdole2.tlb) // (2) v1.0 Kompas6Constants, (K:\Debug\exe\ksConstants.tlb) // (3) v1.0 Kompas6LTAPI5, (C:\Kompas_7_FIX\debug\LT\Exe\klAPI5.TLB) // (4) v4.0 StdVCL, (C:\WINNT\System32\STDVCL40.DLL) // Errors: // Hint: Member 'Type' of 'IKompasAPIObject' changed to 'Type_' // Hint: Parameter 'Type' of IKompasAPIObject.Type changed to 'Type_' // Hint: Parameter 'Type' of IDocuments.Add changed to 'Type_' // Hint: Parameter 'Type' of IKompasDocument.DocumentType changed to 'Type_' // Hint: Parameter 'Type' of IDocumentFrame.ZoomPrevNextOrAll changed to 'Type_' // Hint: Parameter 'Type' of IDocumentFrame.ConvertCoordinates changed to 'Type_' // Hint: Parameter 'Type' of IPropertyControls.Add changed to 'Type_' // Hint: Parameter 'Type' of IDrawingObject.DrawingObjectType changed to 'Type_' // Hint: Parameter 'Type' of IDrawingObject.Temp changed to 'Type_' // Hint: Parameter 'Type' of IDrawingObject.Valid changed to 'Type_' // Hint: Parameter 'Type' of IPropertySlideBox.SlideType changed to 'Type_' // Hint: Parameter 'Type' of IPropertySlideBox.SlideType changed to 'Type_' // ************************************************************************ // {$TYPEDADDRESS OFF} // Unit must be compiled without type-checked pointers. interface uses Windows, ActiveX, Classes, Graphics, OleServer, OleCtrls, StdVCL, ksConstTLB, klTLB; // *********************************************************************// // GUIDS declared in the TypeLibrary. Following prefixes are used: // Type Libraries : LIBID_xxxx // CoClasses : CLASS_xxxx // DISPInterfaces : DIID_xxxx // Non-DISP interfaces: IID_xxxx // *********************************************************************// const // TypeLibrary Major and minor versions KompasLTAPI7MajorVersion = 1; KompasLTAPI7MinorVersion = 0; LIBID_KompasLTAPI7: TGUID = '{0B83FE6B-0F4E-4931-AA7A-7D9FD3C063D4}'; IID_IKompasAPIObject: TGUID = '{5C799A83-C0A4-4312-BEB0-21CBD7FF4C13}'; IID_IApplication: TGUID = '{6A2EFAF7-8254-45A5-9DC8-2213F16AF5D7}'; IID_IKompasCollection: TGUID = '{901F85DE-FA5A-4314-BD75-066A79AF20A8}'; IID_IDocuments: TGUID = '{8BF39F08-5537-4910-84CE-B338E55F7BCF}'; IID_IKompasDocument: TGUID = '{5C6E318D-BD6E-4AFA-8A13-977EAA0845EF}'; IID_IDocumentFrames: TGUID = '{1D18C466-C085-4D68-A465-A85D0C8E3A0E}'; IID_IDocumentFrame: TGUID = '{4437FABA-990F-45E2-B1A2-7754FB326B76}'; IID_IDocumentSettings: TGUID = '{B35FF50E-2991-4630-8AB8-DC3153E7971A}'; IID_IProcessParam: TGUID = '{CB5FDBC8-4DAE-4C4B-87D5-6FD1F2705C38}'; IID_IPropertyTabs: TGUID = '{5BA6324E-E555-490F-A0E2-68D3C6C88D92}'; IID_IPropertyTab: TGUID = '{45DE8E5B-BC2B-4584-8BA7-D3014D3A2397}'; IID_IPropertyControls: TGUID = '{548241BA-FDA8-4633-981E-94552BE38D6B}'; IID_IPropertyControl: TGUID = '{E35F8FF8-03C6-460C-A2F1-294A3A29A029}'; IID_IPropertyManager: TGUID = '{34196EC3-58B2-436C-A353-427703740874}'; IID_IKompasDocument2D: TGUID = '{096E62B3-7184-4998-9925-74BB710D8D8E}'; IID_IViewsAndLayersManager: TGUID = '{A4737593-578B-4187-8CAD-E1056EB5404B}'; IID_IDrawingObjects: TGUID = '{3DD7F97B-59CB-4297-A1BA-04E5A7FFF448}'; IID_IViews: TGUID = '{9CD1B5E6-C1A2-4910-8D0C-97080B14AA3D}'; IID_IDrawingObject: TGUID = '{07EF021F-11C1-4015-8D87-4DC94A2A71B0}'; IID_IView: TGUID = '{21A7BA87-1C8B-41B4-8247-CDD593546F37}'; IID_ILayers: TGUID = '{F6DC2898-D596-4418-A21A-D15AE07B9A40}'; IID_ILayer: TGUID = '{9AD76C38-CC48-4901-AEE5-27B48F51563C}'; IID_ILayerGroups: TGUID = '{DBFF6D98-8F79-453E-9B8B-81E40A6D8027}'; IID_ILayerGroup: TGUID = '{265BBB5A-7B8A-4AA5-A0BB-FF64D23BE62B}'; IID_ILayerFilterConditions: TGUID = '{BCA22E27-AB60-4BA6-87EE-92158AA6D366}'; IID_ILayerFilterCondition: TGUID = '{D743BC12-82A9-4E8F-85B2-7154A356ACC0}'; IID_IKompasDocument3D: TGUID = '{7B60E769-06C3-4FDC-9677-7B5EF5180308}'; IID_IDrawingDocument: TGUID = '{C2214318-5C89-40F8-A25C-C87D08B490F4}'; IID_IFragmentDocument: TGUID = '{E19CE626-DF9C-48C4-A83D-3E3BC7F0DACA}'; IID_ISpecificationDocument: TGUID = '{E3FA8FD0-6187-4625-89B7-3C815651944D}'; IID_ITextDocument: TGUID = '{71A589EA-D32F-42C4-BBC4-A51611E85E90}'; IID_IPartDocument: TGUID = '{0075EA2A-5498-4E28-BDF3-0288EB168054}'; IID_IAssemblyDocument: TGUID = '{F6B3F33A-3273-43EF-9B8A-7C0AF8FAA129}'; IID_IPropertyEdit: TGUID = '{1D238C4C-AAD7-4374-B372-013CF7FCEDB4}'; IID_IPropertySeparator: TGUID = '{4504EFA0-D059-4FD4-B725-FA264D190869}'; IID_IPropertyList: TGUID = '{8F53E9D5-07AD-412E-8C2A-509BC633C4FF}'; IID_IPropertyCheckBox: TGUID = '{9205277D-B480-4AF7-B660-CCDC653F6453}'; IID_IPropertyMultiButton: TGUID = '{3920A0BE-0628-47D5-B0F1-1DFEB77964BC}'; IID_IPropertySlideBox: TGUID = '{E1DB38CD-A6D5-44B8-9AD0-0056B87924DD}'; IID_IPropertyUserControl: TGUID = '{5A902C6C-A030-4F37-A089-91505BAEE466}'; IID_IPropertyGrid: TGUID = '{6682B70F-59DB-4BF0-AB01-45B65B1BDED1}'; IID_IPaintObject: TGUID = '{4D14726D-0EC2-49CE-B02C-FEDAA6D65BBD}'; IID_IGabaritObject: TGUID = '{B6674824-CD9D-4220-B2CB-9F939A9C35C8}'; DIID_ksGLObject: TGUID = '{B1C65023-B908-4CAD-9238-C5026520E62C}'; IID_IPropertyTextButton: TGUID = '{3CDFE85F-643D-4008-AE32-379C0EB3FB7F}'; IID_IPropertySpinEdit: TGUID = '{F214A46D-2BA9-40AD-A32D-E696EF9C895A}'; IID_IAssociationView: TGUID = '{0825F23C-0A73-48DE-BEAB-DA2FF39962C3}'; IID_IDocument2DSettings: TGUID = '{B09A64BF-7AA6-4BF6-B8E8-AA8E8EE6E9D6}'; IID_IDrawingDocumentSettings: TGUID = '{0DC39FC2-4FB1-489E-A76E-E47413199FA3}'; IID_IFragmentDocumentSettings: TGUID = '{A33D05CF-EFFF-4BBE-9BE0-15D283425828}'; DIID_ksPropertyManagerNotify: TGUID = '{5A89C538-E0DD-4C21-B3D1-3BF65EEB8C3E}'; DIID_ksPropertyUserControlNotify: TGUID = '{5A31BB02-026C-4419-A0FF-A93CF58DCA99}'; DIID_ksDocumentFrameNotify: TGUID = '{6ECBB531-5609-4364-AC92-7A6A21D23313}'; DIID_ksDrawingObjectNotify: TGUID = '{E335A73F-DF27-4D33-8CBD-E928F797FB94}'; DIID_ksViewsAndLayersManagerNotify: TGUID = '{FC04C62E-AB0F-4614-B3D9-0EA8671CEB08}'; CLASS_KompasDocument: TGUID = '{DBBB268E-19D3-40DE-B77C-987CA15FE711}'; CLASS__Application: TGUID = '{8C3719B5-0DF2-4C12-9CA8-3AF4827A3BBB}'; CLASS_Documents: TGUID = '{385647BD-89B1-4F2D-A06E-4DD829EE096B}'; CLASS_DocumentFrame: TGUID = '{8BFFC9B4-5FE7-4EC5-8BA5-0FF8520D5FF6}'; CLASS_DocumentFrames: TGUID = '{CC89942A-6FE5-4808-8DC8-FF46D546A8EB}'; CLASS_ProcessParam: TGUID = '{4C33DE6E-FEAC-4C28-9EE0-32C37F8E7A48}'; CLASS_PropertyControls: TGUID = '{74D54FDD-62D0-4544-89C9-999612EF6DEF}'; CLASS_PropertyTab: TGUID = '{1C2A5766-B80A-4752-8509-217574965BF3}'; CLASS_PropertyTabs: TGUID = '{52110F5F-7BF2-4079-B3AE-A7B716A7EB1E}'; CLASS_PropertyEdit: TGUID = '{E4AFCB78-574F-4960-9D92-B23888D700CD}'; CLASS_PropertySeparator: TGUID = '{59DA09ED-130F-43AF-86B8-EAC8E0C7D0A2}'; CLASS_PropertyList: TGUID = '{404CF845-9BF6-4AAD-97A1-B9A173ACF96D}'; CLASS_PropertyCheckBox: TGUID = '{8CF06399-B7EB-46EB-8B08-5603C589FE0F}'; CLASS_PropertyMultiButton: TGUID = '{B734CA6E-CA21-4CCD-AEE8-94BC8F9D4986}'; CLASS_PropertySlideBox: TGUID = '{9988AC8D-657B-4B2A-8338-EC315CBBA70E}'; CLASS_PropertyUserControl: TGUID = '{725A98DC-9987-4A79-BDA2-F5024E2D0FF3}'; CLASS_PropertyGrid: TGUID = '{F0F9573F-BE07-4251-86E5-2AA24AA3D43A}'; CLASS_PropertyManager: TGUID = '{1B9CBAB1-99DA-433E-8D4E-6761D1AB9B8A}'; CLASS_DrawingDocument: TGUID = '{5414B05F-A731-4369-BBD2-419B5CD9D2A2}'; CLASS_FragmentDocument: TGUID = '{86CA15DA-A197-4993-AB98-8921D156114E}'; CLASS_SpecificationDocument: TGUID = '{2D43B764-4F8A-47A6-AAAB-52B59CE5A08D}'; CLASS_TextDocument: TGUID = '{F5CF81CF-F6C3-4D9C-B393-6DF532BFB45D}'; CLASS_PartDocument: TGUID = '{427D2E6B-8D4E-4F9F-99AC-F9E0FB22D25C}'; CLASS_AssemblyDocument: TGUID = '{705B37C7-CA52-4588-980E-1105C919E20C}'; CLASS_PropertyTextButton: TGUID = '{D4F68E4E-2092-436A-B6FB-B8A335A671FD}'; CLASS_PropertySpinEdit: TGUID = '{F4710743-A53B-4256-A450-16D0D40C87AA}'; CLASS_ViewsAndLayersManager: TGUID = '{2E3092B1-3B1A-4060-B202-B0C6F4177973}'; CLASS_DrawingObject: TGUID = '{3310AC4A-DC93-4AB5-B2CD-5391E6CB370A}'; CLASS_DrawingObjects: TGUID = '{5F90A46E-EA28-4294-B34F-145C80141517}'; CLASS_Views: TGUID = '{675CDFC9-4ED8-4689-8A15-BE9CC85CFBDC}'; CLASS_View: TGUID = '{ADBF03AF-24D4-4CA8-BF0E-7F6E403D4E55}'; CLASS_AssociationView: TGUID = '{9F144F3A-A296-46C6-99C2-1877B83B0E63}'; CLASS_LayerGroups: TGUID = '{E53FFD4E-619D-4B9B-9C34-9C23668E6F4A}'; CLASS_LayerGroup: TGUID = '{5543C50A-B56D-48AF-87C3-09C1B48CBC5A}'; CLASS_Layers: TGUID = '{C0402ED4-D1AB-4567-BE4F-AFD88AF848EC}'; CLASS_Layer: TGUID = '{392916B8-171E-4229-9E75-1D514C75FB17}'; CLASS_LayerFilterCondition: TGUID = '{21D31870-5EBC-42CE-8858-A308E7E4B8A4}'; CLASS_LayerFilterConditions: TGUID = '{9F90DA69-2CA3-4C2E-AB59-6BB9B0E7DFB8}'; CLASS_DocumentSettings: TGUID = '{64964B4C-5A02-41D8-B6EC-F7CF627564E6}'; CLASS_Document2DSettings: TGUID = '{EBB0EE6B-305C-4448-9674-3F5072606D47}'; CLASS_DrawingDocumentSettings: TGUID = '{AA124C48-7498-4D0C-97BA-1C52B0697288}'; CLASS_FragmentDocumentSettings: TGUID = '{17306A13-C8C2-4783-B420-96D627E75858}'; type // *********************************************************************// // Forward declaration of types defined in TypeLibrary // *********************************************************************// IKompasAPIObject = interface; IKompasAPIObjectDisp = dispinterface; IApplication = interface; IApplicationDisp = dispinterface; IKompasCollection = interface; IKompasCollectionDisp = dispinterface; IDocuments = interface; IDocumentsDisp = dispinterface; IKompasDocument = interface; IKompasDocumentDisp = dispinterface; IDocumentFrames = interface; IDocumentFramesDisp = dispinterface; IDocumentFrame = interface; IDocumentFrameDisp = dispinterface; IDocumentSettings = interface; IDocumentSettingsDisp = dispinterface; IProcessParam = interface; IProcessParamDisp = dispinterface; IPropertyTabs = interface; IPropertyTabsDisp = dispinterface; IPropertyTab = interface; IPropertyTabDisp = dispinterface; IPropertyControls = interface; IPropertyControlsDisp = dispinterface; IPropertyControl = interface; IPropertyControlDisp = dispinterface; IPropertyManager = interface; IPropertyManagerDisp = dispinterface; IKompasDocument2D = interface; IKompasDocument2DDisp = dispinterface; IViewsAndLayersManager = interface; IViewsAndLayersManagerDisp = dispinterface; IDrawingObjects = interface; IDrawingObjectsDisp = dispinterface; IViews = interface; IViewsDisp = dispinterface; IDrawingObject = interface; IDrawingObjectDisp = dispinterface; IView = interface; IViewDisp = dispinterface; ILayers = interface; ILayersDisp = dispinterface; ILayer = interface; ILayerDisp = dispinterface; ILayerGroups = interface; ILayerGroupsDisp = dispinterface; ILayerGroup = interface; ILayerGroupDisp = dispinterface; ILayerFilterConditions = interface; ILayerFilterConditionsDisp = dispinterface; ILayerFilterCondition = interface; ILayerFilterConditionDisp = dispinterface; IKompasDocument3D = interface; IKompasDocument3DDisp = dispinterface; IDrawingDocument = interface; IDrawingDocumentDisp = dispinterface; IFragmentDocument = interface; IFragmentDocumentDisp = dispinterface; ISpecificationDocument = interface; ISpecificationDocumentDisp = dispinterface; ITextDocument = interface; ITextDocumentDisp = dispinterface; IPartDocument = interface; IPartDocumentDisp = dispinterface; IAssemblyDocument = interface; IAssemblyDocumentDisp = dispinterface; IPropertyEdit = interface; IPropertyEditDisp = dispinterface; IPropertySeparator = interface; IPropertySeparatorDisp = dispinterface; IPropertyList = interface; IPropertyListDisp = dispinterface; IPropertyCheckBox = interface; IPropertyCheckBoxDisp = dispinterface; IPropertyMultiButton = interface; IPropertyMultiButtonDisp = dispinterface; IPropertySlideBox = interface; IPropertySlideBoxDisp = dispinterface; IPropertyUserControl = interface; IPropertyUserControlDisp = dispinterface; IPropertyGrid = interface; IPropertyGridDisp = dispinterface; IPaintObject = interface; IPaintObjectDisp = dispinterface; IGabaritObject = interface; IGabaritObjectDisp = dispinterface; ksGLObject = dispinterface; IPropertyTextButton = interface; IPropertyTextButtonDisp = dispinterface; IPropertySpinEdit = interface; IPropertySpinEditDisp = dispinterface; IAssociationView = interface; IAssociationViewDisp = dispinterface; IDocument2DSettings = interface; IDocument2DSettingsDisp = dispinterface; IDrawingDocumentSettings = interface; IDrawingDocumentSettingsDisp = dispinterface; IFragmentDocumentSettings = interface; IFragmentDocumentSettingsDisp = dispinterface; ksPropertyManagerNotify = dispinterface; ksPropertyUserControlNotify = dispinterface; ksDocumentFrameNotify = dispinterface; ksDrawingObjectNotify = dispinterface; ksViewsAndLayersManagerNotify = dispinterface; // *********************************************************************// // Declaration of CoClasses defined in Type Library // (NOTE: Here we map each CoClass to its Default Interface) // *********************************************************************// KompasDocument = IKompasDocument; _Application = IApplication; Documents = IDocuments; DocumentFrame = IDocumentFrame; DocumentFrames = IDocumentFrames; ProcessParam = IProcessParam; PropertyControls = IPropertyControls; PropertyTab = IPropertyTab; PropertyTabs = IPropertyTabs; PropertyEdit = IPropertyEdit; PropertySeparator = IPropertySeparator; PropertyList = IPropertyList; PropertyCheckBox = IPropertyCheckBox; PropertyMultiButton = IPropertyMultiButton; PropertySlideBox = IPropertySlideBox; PropertyUserControl = IPropertyUserControl; PropertyGrid = IPropertyGrid; PropertyManager = IPropertyManager; DrawingDocument = IDrawingDocument; FragmentDocument = IFragmentDocument; SpecificationDocument = ISpecificationDocument; TextDocument = ITextDocument; PartDocument = IPartDocument; AssemblyDocument = IAssemblyDocument; PropertyTextButton = IPropertyTextButton; PropertySpinEdit = IPropertySpinEdit; ViewsAndLayersManager = IViewsAndLayersManager; DrawingObject = IDrawingObject; DrawingObjects = IDrawingObjects; Views = IViews; View = IView; AssociationView = IAssociationView; LayerGroups = ILayerGroups; LayerGroup = ILayerGroup; Layers = ILayers; Layer = ILayer; LayerFilterCondition = ILayerFilterCondition; LayerFilterConditions = ILayerFilterConditions; DocumentSettings = IDocumentSettings; Document2DSettings = IDocument2DSettings; DrawingDocumentSettings = IDrawingDocumentSettings; FragmentDocumentSettings = IFragmentDocumentSettings; // *********************************************************************// // Declaration of structures, unions and aliases. // *********************************************************************// PDouble1 = ^Double; {*} PInteger1 = ^Integer; {*} PWordBool1 = ^WordBool; {*} // *********************************************************************// // Interface: IKompasAPIObject // Flags: (4560) Hidden Dual NonExtensible OleAutomation Dispatchable // GUID: {5C799A83-C0A4-4312-BEB0-21CBD7FF4C13} // *********************************************************************// IKompasAPIObject = interface(IDispatch) ['{5C799A83-C0A4-4312-BEB0-21CBD7FF4C13}'] function Get_Parent: IKompasAPIObject; safecall; function Get_Application: IApplication; safecall; function Get_Type_: KompasAPIObjectTypeEnum; safecall; function Get_Reference: Integer; safecall; property Parent: IKompasAPIObject read Get_Parent; property Application: IApplication read Get_Application; property Type_: KompasAPIObjectTypeEnum read Get_Type_; property Reference: Integer read Get_Reference; end; // *********************************************************************// // DispIntf: IKompasAPIObjectDisp // Flags: (4560) Hidden Dual NonExtensible OleAutomation Dispatchable // GUID: {5C799A83-C0A4-4312-BEB0-21CBD7FF4C13} // *********************************************************************// IKompasAPIObjectDisp = dispinterface ['{5C799A83-C0A4-4312-BEB0-21CBD7FF4C13}'] property Parent: IKompasAPIObject readonly dispid 1000; property Application: IApplication readonly dispid 1001; property Type_: KompasAPIObjectTypeEnum readonly dispid 1002; property Reference: Integer readonly dispid 1003; end; // *********************************************************************// // Interface: IApplication // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {6A2EFAF7-8254-45A5-9DC8-2213F16AF5D7} // *********************************************************************// IApplication = interface(IKompasAPIObject) ['{6A2EFAF7-8254-45A5-9DC8-2213F16AF5D7}'] procedure Set_Visible(PVal: WordBool); safecall; function Get_Visible: WordBool; safecall; function Get_Documents: IDocuments; safecall; procedure Quit; safecall; function CreateProcessParam: IProcessParam; safecall; procedure StopCurrentProcess(PostMessage: WordBool; const PDoc: IKompasDocument); safecall; function CreatePropertyManager(NewManager: WordBool): IPropertyManager; safecall; procedure Set_ActiveDocument(const PDoc: IKompasDocument); safecall; function Get_ActiveDocument: IKompasDocument; safecall; property Visible: WordBool read Get_Visible write Set_Visible; property Documents: IDocuments read Get_Documents; property ActiveDocument: IKompasDocument read Get_ActiveDocument write Set_ActiveDocument; end; // *********************************************************************// // DispIntf: IApplicationDisp // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {6A2EFAF7-8254-45A5-9DC8-2213F16AF5D7} // *********************************************************************// IApplicationDisp = dispinterface ['{6A2EFAF7-8254-45A5-9DC8-2213F16AF5D7}'] property Visible: WordBool dispid 1; property Documents: IDocuments readonly dispid 2; procedure Quit; dispid 3; function CreateProcessParam: IProcessParam; dispid 4; procedure StopCurrentProcess(PostMessage: WordBool; const PDoc: IKompasDocument); dispid 5; function CreatePropertyManager(NewManager: WordBool): IPropertyManager; dispid 6; property ActiveDocument: IKompasDocument dispid 7; property Parent: IKompasAPIObject readonly dispid 1000; property Application: IApplication readonly dispid 1001; property Type_: KompasAPIObjectTypeEnum readonly dispid 1002; property Reference: Integer readonly dispid 1003; end; // *********************************************************************// // Interface: IKompasCollection // Flags: (4560) Hidden Dual NonExtensible OleAutomation Dispatchable // GUID: {901F85DE-FA5A-4314-BD75-066A79AF20A8} // *********************************************************************// IKompasCollection = interface(IKompasAPIObject) ['{901F85DE-FA5A-4314-BD75-066A79AF20A8}'] function Get__NewEnum: IUnknown; safecall; function Get_Count: Integer; safecall; property _NewEnum: IUnknown read Get__NewEnum; property Count: Integer read Get_Count; end; // *********************************************************************// // DispIntf: IKompasCollectionDisp // Flags: (4560) Hidden Dual NonExtensible OleAutomation Dispatchable // GUID: {901F85DE-FA5A-4314-BD75-066A79AF20A8} // *********************************************************************// IKompasCollectionDisp = dispinterface ['{901F85DE-FA5A-4314-BD75-066A79AF20A8}'] property _NewEnum: IUnknown readonly dispid -4; property Count: Integer readonly dispid 2000; property Parent: IKompasAPIObject readonly dispid 1000; property Application: IApplication readonly dispid 1001; property Type_: KompasAPIObjectTypeEnum readonly dispid 1002; property Reference: Integer readonly dispid 1003; end; // *********************************************************************// // Interface: IDocuments // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {8BF39F08-5537-4910-84CE-B338E55F7BCF} // *********************************************************************// IDocuments = interface(IKompasCollection) ['{8BF39F08-5537-4910-84CE-B338E55F7BCF}'] function Get_Item(Index: OleVariant): IKompasDocument; safecall; function Add(Type_: DocumentTypeEnum; Visible: WordBool): IKompasDocument; safecall; function Open(const PathName: WideString; Visible: WordBool; ReadOnly: WordBool): IKompasDocument; safecall; property Item[Index: OleVariant]: IKompasDocument read Get_Item; default; end; // *********************************************************************// // DispIntf: IDocumentsDisp // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {8BF39F08-5537-4910-84CE-B338E55F7BCF} // *********************************************************************// IDocumentsDisp = dispinterface ['{8BF39F08-5537-4910-84CE-B338E55F7BCF}'] property Item[Index: OleVariant]: IKompasDocument readonly dispid 0; default; function Add(Type_: DocumentTypeEnum; Visible: WordBool): IKompasDocument; dispid 1; function Open(const PathName: WideString; Visible: WordBool; ReadOnly: WordBool): IKompasDocument; dispid 2; property _NewEnum: IUnknown readonly dispid -4; property Count: Integer readonly dispid 2000; property Parent: IKompasAPIObject readonly dispid 1000; property Application: IApplication readonly dispid 1001; property Type_: KompasAPIObjectTypeEnum readonly dispid 1002; property Reference: Integer readonly dispid 1003; end; // *********************************************************************// // Interface: IKompasDocument // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {5C6E318D-BD6E-4AFA-8A13-977EAA0845EF} // *********************************************************************// IKompasDocument = interface(IKompasAPIObject) ['{5C6E318D-BD6E-4AFA-8A13-977EAA0845EF}'] function Get_DocumentType: DocumentTypeEnum; safecall; function Get_DocumentFrames: IDocumentFrames; safecall; function Close(closeOptions: DocumentCloseOptions): WordBool; safecall; procedure Save; safecall; procedure SaveAs(const PathName: WideString); safecall; function Get_Name: WideString; safecall; function Get_PathName: WideString; safecall; function Get_Path: WideString; safecall; function Get_Visible: WordBool; safecall; function Get_Active: WordBool; safecall; procedure Set_Active(PVal: WordBool); safecall; function Get_ReadOnly: WordBool; safecall; procedure Set_ReadOnly(PVal: WordBool); safecall; function Get_Changed: WordBool; safecall; function Get_DocumentSettings: IDocumentSettings; safecall; property DocumentType: DocumentTypeEnum read Get_DocumentType; property DocumentFrames: IDocumentFrames read Get_DocumentFrames; property Name: WideString read Get_Name; property PathName: WideString read Get_PathName; property Path: WideString read Get_Path; property Visible: WordBool read Get_Visible; property Active: WordBool read Get_Active write Set_Active; property ReadOnly: WordBool read Get_ReadOnly write Set_ReadOnly; property Changed: WordBool read Get_Changed; property DocumentSettings: IDocumentSettings read Get_DocumentSettings; end; // *********************************************************************// // DispIntf: IKompasDocumentDisp // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {5C6E318D-BD6E-4AFA-8A13-977EAA0845EF} // *********************************************************************// IKompasDocumentDisp = dispinterface ['{5C6E318D-BD6E-4AFA-8A13-977EAA0845EF}'] property DocumentType: DocumentTypeEnum readonly dispid 3000; property DocumentFrames: IDocumentFrames readonly dispid 3001; function Close(closeOptions: DocumentCloseOptions): WordBool; dispid 3002; procedure Save; dispid 3003; procedure SaveAs(const PathName: WideString); dispid 3004; property Name: WideString readonly dispid 3005; property PathName: WideString readonly dispid 3006; property Path: WideString readonly dispid 3007; property Visible: WordBool readonly dispid 3008; property Active: WordBool dispid 3009; property ReadOnly: WordBool dispid 3010; property Changed: WordBool readonly dispid 3011; property DocumentSettings: IDocumentSettings readonly dispid 3012; property Parent: IKompasAPIObject readonly dispid 1000; property Application: IApplication readonly dispid 1001; property Type_: KompasAPIObjectTypeEnum readonly dispid 1002; property Reference: Integer readonly dispid 1003; end; // *********************************************************************// // Interface: IDocumentFrames // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {1D18C466-C085-4D68-A465-A85D0C8E3A0E} // *********************************************************************// IDocumentFrames = interface(IKompasCollection) ['{1D18C466-C085-4D68-A465-A85D0C8E3A0E}'] function Get_Item(Index: OleVariant): IDocumentFrame; safecall; property Item[Index: OleVariant]: IDocumentFrame read Get_Item; default; end; // *********************************************************************// // DispIntf: IDocumentFramesDisp // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {1D18C466-C085-4D68-A465-A85D0C8E3A0E} // *********************************************************************// IDocumentFramesDisp = dispinterface ['{1D18C466-C085-4D68-A465-A85D0C8E3A0E}'] property Item[Index: OleVariant]: IDocumentFrame readonly dispid 0; default; property _NewEnum: IUnknown readonly dispid -4; property Count: Integer readonly dispid 2000; property Parent: IKompasAPIObject readonly dispid 1000; property Application: IApplication readonly dispid 1001; property Type_: KompasAPIObjectTypeEnum readonly dispid 1002; property Reference: Integer readonly dispid 1003; end; // *********************************************************************// // Interface: IDocumentFrame // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {4437FABA-990F-45E2-B1A2-7754FB326B76} // *********************************************************************// IDocumentFrame = interface(IKompasAPIObject) ['{4437FABA-990F-45E2-B1A2-7754FB326B76}'] procedure Set_Regime(PVal: FrameRegimeEnum); safecall; function Get_Regime: FrameRegimeEnum; safecall; procedure Set_Active(PVal: WordBool); safecall; function Get_Active: WordBool; safecall; function Get_Caption: WideString; safecall; procedure Zoom(X1: Double; Y1: Double; X2: Double; Y2: Double); safecall; procedure ZoomPrevNextOrAll(Type_: ZoomTypeEnum); safecall; procedure ZoomScale(X: Double; Y: Double; Scale: Double); safecall; procedure GetZoomScale(out X: Double; out Y: Double; out Scale: Double); safecall; function GetHWND: OLE_HANDLE; safecall; procedure SetGabaritModifying; safecall; procedure RefreshWindow; safecall; function ConvertCoordinates(Type_: ConvertCoordTypeEnum; LX: Integer; LY: Integer; out X: Double; out Y: Double; out Z: Double): WordBool; safecall; property Regime: FrameRegimeEnum read Get_Regime write Set_Regime; property Active: WordBool read Get_Active write Set_Active; property Caption: WideString read Get_Caption; end; // *********************************************************************// // DispIntf: IDocumentFrameDisp // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {4437FABA-990F-45E2-B1A2-7754FB326B76} // *********************************************************************// IDocumentFrameDisp = dispinterface ['{4437FABA-990F-45E2-B1A2-7754FB326B76}'] property Regime: FrameRegimeEnum dispid 1; property Active: WordBool dispid 2; property Caption: WideString readonly dispid 3; procedure Zoom(X1: Double; Y1: Double; X2: Double; Y2: Double); dispid 4; procedure ZoomPrevNextOrAll(Type_: ZoomTypeEnum); dispid 5; procedure ZoomScale(X: Double; Y: Double; Scale: Double); dispid 6; procedure GetZoomScale(out X: Double; out Y: Double; out Scale: Double); dispid 7; function GetHWND: OLE_HANDLE; dispid 8; procedure SetGabaritModifying; dispid 9; procedure RefreshWindow; dispid 10; function ConvertCoordinates(Type_: ConvertCoordTypeEnum; LX: Integer; LY: Integer; out X: Double; out Y: Double; out Z: Double): WordBool; dispid 11; property Parent: IKompasAPIObject readonly dispid 1000; property Application: IApplication readonly dispid 1001; property Type_: KompasAPIObjectTypeEnum readonly dispid 1002; property Reference: Integer readonly dispid 1003; end; // *********************************************************************// // Interface: IDocumentSettings // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {B35FF50E-2991-4630-8AB8-DC3153E7971A} // *********************************************************************// IDocumentSettings = interface(IKompasAPIObject) ['{B35FF50E-2991-4630-8AB8-DC3153E7971A}'] end; // *********************************************************************// // DispIntf: IDocumentSettingsDisp // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {B35FF50E-2991-4630-8AB8-DC3153E7971A} // *********************************************************************// IDocumentSettingsDisp = dispinterface ['{B35FF50E-2991-4630-8AB8-DC3153E7971A}'] property Parent: IKompasAPIObject readonly dispid 1000; property Application: IApplication readonly dispid 1001; property Type_: KompasAPIObjectTypeEnum readonly dispid 1002; property Reference: Integer readonly dispid 1003; end; // *********************************************************************// // Interface: IProcessParam // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {CB5FDBC8-4DAE-4C4B-87D5-6FD1F2705C38} // *********************************************************************// IProcessParam = interface(IKompasAPIObject) ['{CB5FDBC8-4DAE-4C4B-87D5-6FD1F2705C38}'] procedure Set_Caption(const PVal: WideString); safecall; function Get_Caption: WideString; safecall; function Get_PropertyTabs: IPropertyTabs; safecall; procedure Set_SpecToolbar(PVal: SpecPropertyToolBarEnum); safecall; function Get_SpecToolbar: SpecPropertyToolBarEnum; safecall; procedure Set_AutoReduce(PVal: WordBool); safecall; function Get_AutoReduce: WordBool; safecall; procedure Set_DefaultControlFix(PVal: DefaultFixTypeEnum); safecall; function Get_DefaultControlFix: DefaultFixTypeEnum; safecall; property Caption: WideString read Get_Caption write Set_Caption; property PropertyTabs: IPropertyTabs read Get_PropertyTabs; property SpecToolbar: SpecPropertyToolBarEnum read Get_SpecToolbar write Set_SpecToolbar; property AutoReduce: WordBool read Get_AutoReduce write Set_AutoReduce; property DefaultControlFix: DefaultFixTypeEnum read Get_DefaultControlFix write Set_DefaultControlFix; end; // *********************************************************************// // DispIntf: IProcessParamDisp // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {CB5FDBC8-4DAE-4C4B-87D5-6FD1F2705C38} // *********************************************************************// IProcessParamDisp = dispinterface ['{CB5FDBC8-4DAE-4C4B-87D5-6FD1F2705C38}'] property Caption: WideString dispid 1; property PropertyTabs: IPropertyTabs readonly dispid 2; property SpecToolbar: SpecPropertyToolBarEnum dispid 3; property AutoReduce: WordBool dispid 4; property DefaultControlFix: DefaultFixTypeEnum dispid 5; property Parent: IKompasAPIObject readonly dispid 1000; property Application: IApplication readonly dispid 1001; property Type_: KompasAPIObjectTypeEnum readonly dispid 1002; property Reference: Integer readonly dispid 1003; end; // *********************************************************************// // Interface: IPropertyTabs // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {5BA6324E-E555-490F-A0E2-68D3C6C88D92} // *********************************************************************// IPropertyTabs = interface(IKompasCollection) ['{5BA6324E-E555-490F-A0E2-68D3C6C88D92}'] function Get_Item(Index: OleVariant): IPropertyTab; safecall; function Add(const Caption: WideString): IPropertyTab; safecall; function Delete(Index: OleVariant): WordBool; safecall; function Get_Active: IPropertyTab; safecall; property Item[Index: OleVariant]: IPropertyTab read Get_Item; default; property Active: IPropertyTab read Get_Active; end; // *********************************************************************// // DispIntf: IPropertyTabsDisp // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {5BA6324E-E555-490F-A0E2-68D3C6C88D92} // *********************************************************************// IPropertyTabsDisp = dispinterface ['{5BA6324E-E555-490F-A0E2-68D3C6C88D92}'] property Item[Index: OleVariant]: IPropertyTab readonly dispid 0; default; function Add(const Caption: WideString): IPropertyTab; dispid 2; function Delete(Index: OleVariant): WordBool; dispid 3; property Active: IPropertyTab readonly dispid 4; property _NewEnum: IUnknown readonly dispid -4; property Count: Integer readonly dispid 2000; property Parent: IKompasAPIObject readonly dispid 1000; property Application: IApplication readonly dispid 1001; property Type_: KompasAPIObjectTypeEnum readonly dispid 1002; property Reference: Integer readonly dispid 1003; end; // *********************************************************************// // Interface: IPropertyTab // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {45DE8E5B-BC2B-4584-8BA7-D3014D3A2397} // *********************************************************************// IPropertyTab = interface(IKompasAPIObject) ['{45DE8E5B-BC2B-4584-8BA7-D3014D3A2397}'] procedure Set_Visible(PVal: WordBool); safecall; function Get_Visible: WordBool; safecall; procedure Set_Caption(const PVal: WideString); safecall; function Get_Caption: WideString; safecall; procedure Set_Active(PVal: WordBool); safecall; function Get_Active: WordBool; safecall; function Get_PropertyControls: IPropertyControls; safecall; property Visible: WordBool read Get_Visible write Set_Visible; property Caption: WideString read Get_Caption write Set_Caption; property Active: WordBool read Get_Active write Set_Active; property PropertyControls: IPropertyControls read Get_PropertyControls; end; // *********************************************************************// // DispIntf: IPropertyTabDisp // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {45DE8E5B-BC2B-4584-8BA7-D3014D3A2397} // *********************************************************************// IPropertyTabDisp = dispinterface ['{45DE8E5B-BC2B-4584-8BA7-D3014D3A2397}'] property Visible: WordBool dispid 1; property Caption: WideString dispid 2; property Active: WordBool dispid 3; property PropertyControls: IPropertyControls readonly dispid 4; property Parent: IKompasAPIObject readonly dispid 1000; property Application: IApplication readonly dispid 1001; property Type_: KompasAPIObjectTypeEnum readonly dispid 1002; property Reference: Integer readonly dispid 1003; end; // *********************************************************************// // Interface: IPropertyControls // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {548241BA-FDA8-4633-981E-94552BE38D6B} // *********************************************************************// IPropertyControls = interface(IKompasCollection) ['{548241BA-FDA8-4633-981E-94552BE38D6B}'] function Get_Item(Index: OleVariant): IPropertyControl; safecall; function Add(Type_: ControlTypeEnum): IPropertyControl; safecall; function Delete(Index: OleVariant): WordBool; safecall; property Item[Index: OleVariant]: IPropertyControl read Get_Item; default; end; // *********************************************************************// // DispIntf: IPropertyControlsDisp // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {548241BA-FDA8-4633-981E-94552BE38D6B} // *********************************************************************// IPropertyControlsDisp = dispinterface ['{548241BA-FDA8-4633-981E-94552BE38D6B}'] property Item[Index: OleVariant]: IPropertyControl readonly dispid 0; default; function Add(Type_: ControlTypeEnum): IPropertyControl; dispid 2; function Delete(Index: OleVariant): WordBool; dispid 3; property _NewEnum: IUnknown readonly dispid -4; property Count: Integer readonly dispid 2000; property Parent: IKompasAPIObject readonly dispid 1000; property Application: IApplication readonly dispid 1001; property Type_: KompasAPIObjectTypeEnum readonly dispid 1002; property Reference: Integer readonly dispid 1003; end; // *********************************************************************// // Interface: IPropertyControl // Flags: (4560) Hidden Dual NonExtensible OleAutomation Dispatchable // GUID: {E35F8FF8-03C6-460C-A2F1-294A3A29A029} // *********************************************************************// IPropertyControl = interface(IKompasAPIObject) ['{E35F8FF8-03C6-460C-A2F1-294A3A29A029}'] procedure Set_Visible(PVal: WordBool); safecall; function Get_Visible: WordBool; safecall; procedure Set_Name(const PVal: WideString); safecall; function Get_Name: WideString; safecall; function Get_ControlType: ControlTypeEnum; safecall; procedure Set_Id(PVal: Integer); safecall; function Get_Id: Integer; safecall; procedure Set_Enable(PVal: WordBool); safecall; function Get_Enable: WordBool; safecall; procedure Set_Value(PVal: OleVariant); safecall; function Get_Value: OleVariant; safecall; procedure Set_NameVisibility(PVal: PropertyControlNameVisibility); safecall; function Get_NameVisibility: PropertyControlNameVisibility; safecall; procedure Set_Hint(const PVal: WideString); safecall; function Get_Hint: WideString; safecall; procedure Set_Tips(const PVal: WideString); safecall; function Get_Tips: WideString; safecall; property Visible: WordBool read Get_Visible write Set_Visible; property Name: WideString read Get_Name write Set_Name; property ControlType: ControlTypeEnum read Get_ControlType; property Id: Integer read Get_Id write Set_Id; property Enable: WordBool read Get_Enable write Set_Enable; property Value: OleVariant read Get_Value write Set_Value; property NameVisibility: PropertyControlNameVisibility read Get_NameVisibility write Set_NameVisibility; property Hint: WideString read Get_Hint write Set_Hint; property Tips: WideString read Get_Tips write Set_Tips; end; // *********************************************************************// // DispIntf: IPropertyControlDisp // Flags: (4560) Hidden Dual NonExtensible OleAutomation Dispatchable // GUID: {E35F8FF8-03C6-460C-A2F1-294A3A29A029} // *********************************************************************// IPropertyControlDisp = dispinterface ['{E35F8FF8-03C6-460C-A2F1-294A3A29A029}'] property Visible: WordBool dispid 1; property Name: WideString dispid 2; property ControlType: ControlTypeEnum readonly dispid 3; property Id: Integer dispid 4; property Enable: WordBool dispid 5; property Value: OleVariant dispid 6; property NameVisibility: PropertyControlNameVisibility dispid 7; property Hint: WideString dispid 8; property Tips: WideString dispid 9; property Parent: IKompasAPIObject readonly dispid 1000; property Application: IApplication readonly dispid 1001; property Type_: KompasAPIObjectTypeEnum readonly dispid 1002; property Reference: Integer readonly dispid 1003; end; // *********************************************************************// // Interface: IPropertyManager // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {34196EC3-58B2-436C-A353-427703740874} // *********************************************************************// IPropertyManager = interface(IKompasAPIObject) ['{34196EC3-58B2-436C-A353-427703740874}'] procedure Set_Visible(PVal: WordBool); safecall; function Get_Visible: WordBool; safecall; procedure Set_Caption(const PVal: WideString); safecall; function Get_Caption: WideString; safecall; procedure Set_Layout(PVal: PropertyManagerLayout); safecall; function Get_Layout: PropertyManagerLayout; safecall; function Get_PropertyTabs: IPropertyTabs; safecall; procedure SetGabaritRect(Left: Integer; Top: Integer; Right: Integer; Bottom: Integer); safecall; procedure GetGabaritRect(out Left: Integer; out Top: Integer; out Right: Integer; out Bottom: Integer); safecall; function ShowTabs: WordBool; safecall; function UpdateTabs: WordBool; safecall; function HideTabs: WordBool; safecall; procedure Set_SpecToolbar(PVal: SpecPropertyToolBarEnum); safecall; function Get_SpecToolbar: SpecPropertyToolBarEnum; safecall; property Visible: WordBool read Get_Visible write Set_Visible; property Caption: WideString read Get_Caption write Set_Caption; property Layout: PropertyManagerLayout read Get_Layout write Set_Layout; property PropertyTabs: IPropertyTabs read Get_PropertyTabs; property SpecToolbar: SpecPropertyToolBarEnum read Get_SpecToolbar write Set_SpecToolbar; end; // *********************************************************************// // DispIntf: IPropertyManagerDisp // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {34196EC3-58B2-436C-A353-427703740874} // *********************************************************************// IPropertyManagerDisp = dispinterface ['{34196EC3-58B2-436C-A353-427703740874}'] property Visible: WordBool dispid 1; property Caption: WideString dispid 2; property Layout: PropertyManagerLayout dispid 3; property PropertyTabs: IPropertyTabs readonly dispid 4; procedure SetGabaritRect(Left: Integer; Top: Integer; Right: Integer; Bottom: Integer); dispid 5; procedure GetGabaritRect(out Left: Integer; out Top: Integer; out Right: Integer; out Bottom: Integer); dispid 6; function ShowTabs: WordBool; dispid 7; function UpdateTabs: WordBool; dispid 8; function HideTabs: WordBool; dispid 9; property SpecToolbar: SpecPropertyToolBarEnum dispid 10; property Parent: IKompasAPIObject readonly dispid 1000; property Application: IApplication readonly dispid 1001; property Type_: KompasAPIObjectTypeEnum readonly dispid 1002; property Reference: Integer readonly dispid 1003; end; // *********************************************************************// // Interface: IKompasDocument2D // Flags: (4560) Hidden Dual NonExtensible OleAutomation Dispatchable // GUID: {096E62B3-7184-4998-9925-74BB710D8D8E} // *********************************************************************// IKompasDocument2D = interface(IKompasDocument) ['{096E62B3-7184-4998-9925-74BB710D8D8E}'] function Get_ViewsAndLayersManager: IViewsAndLayersManager; safecall; function GetDrawingObjectNotifyResult: IDispatch; safecall; property ViewsAndLayersManager: IViewsAndLayersManager read Get_ViewsAndLayersManager; end; // *********************************************************************// // DispIntf: IKompasDocument2DDisp // Flags: (4560) Hidden Dual NonExtensible OleAutomation Dispatchable // GUID: {096E62B3-7184-4998-9925-74BB710D8D8E} // *********************************************************************// IKompasDocument2DDisp = dispinterface ['{096E62B3-7184-4998-9925-74BB710D8D8E}'] property ViewsAndLayersManager: IViewsAndLayersManager readonly dispid 1; function GetDrawingObjectNotifyResult: IDispatch; dispid 2; property DocumentType: DocumentTypeEnum readonly dispid 3000; property DocumentFrames: IDocumentFrames readonly dispid 3001; function Close(closeOptions: DocumentCloseOptions): WordBool; dispid 3002; procedure Save; dispid 3003; procedure SaveAs(const PathName: WideString); dispid 3004; property Name: WideString readonly dispid 3005; property PathName: WideString readonly dispid 3006; property Path: WideString readonly dispid 3007; property Visible: WordBool readonly dispid 3008; property Active: WordBool dispid 3009; property ReadOnly: WordBool dispid 3010; property Changed: WordBool readonly dispid 3011; property DocumentSettings: IDocumentSettings readonly dispid 3012; property Parent: IKompasAPIObject readonly dispid 1000; property Application: IApplication readonly dispid 1001; property Type_: KompasAPIObjectTypeEnum readonly dispid 1002; property Reference: Integer readonly dispid 1003; end; // *********************************************************************// // Interface: IViewsAndLayersManager // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {A4737593-578B-4187-8CAD-E1056EB5404B} // *********************************************************************// IViewsAndLayersManager = interface(IKompasAPIObject) ['{A4737593-578B-4187-8CAD-E1056EB5404B}'] function Get_Views: IViews; safecall; function Get_LayerGroups: ILayerGroups; safecall; property Views: IViews read Get_Views; property LayerGroups: ILayerGroups read Get_LayerGroups; end; // *********************************************************************// // DispIntf: IViewsAndLayersManagerDisp // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {A4737593-578B-4187-8CAD-E1056EB5404B} // *********************************************************************// IViewsAndLayersManagerDisp = dispinterface ['{A4737593-578B-4187-8CAD-E1056EB5404B}'] property Views: IViews readonly dispid 1; property LayerGroups: ILayerGroups readonly dispid 2; property Parent: IKompasAPIObject readonly dispid 1000; property Application: IApplication readonly dispid 1001; property Type_: KompasAPIObjectTypeEnum readonly dispid 1002; property Reference: Integer readonly dispid 1003; end; // *********************************************************************// // Interface: IDrawingObjects // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {3DD7F97B-59CB-4297-A1BA-04E5A7FFF448} // *********************************************************************// IDrawingObjects = interface(IKompasCollection) ['{3DD7F97B-59CB-4297-A1BA-04E5A7FFF448}'] function Get_Item(Index: OleVariant): IDrawingObject; safecall; property Item[Index: OleVariant]: IDrawingObject read Get_Item; default; end; // *********************************************************************// // DispIntf: IDrawingObjectsDisp // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {3DD7F97B-59CB-4297-A1BA-04E5A7FFF448} // *********************************************************************// IDrawingObjectsDisp = dispinterface ['{3DD7F97B-59CB-4297-A1BA-04E5A7FFF448}'] property Item[Index: OleVariant]: IDrawingObject readonly dispid 0; default; property _NewEnum: IUnknown readonly dispid -4; property Count: Integer readonly dispid 2000; property Parent: IKompasAPIObject readonly dispid 1000; property Application: IApplication readonly dispid 1001; property Type_: KompasAPIObjectTypeEnum readonly dispid 1002; property Reference: Integer readonly dispid 1003; end; // *********************************************************************// // Interface: IViews // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {9CD1B5E6-C1A2-4910-8D0C-97080B14AA3D} // *********************************************************************// IViews = interface(IDrawingObjects) ['{9CD1B5E6-C1A2-4910-8D0C-97080B14AA3D}'] function Get_View(Index: OleVariant): IView; safecall; function Get_ViewByNumber(Numb: Integer): IView; safecall; function Add(ViewType: LtViewType): IView; safecall; property View[Index: OleVariant]: IView read Get_View; property ViewByNumber[Numb: Integer]: IView read Get_ViewByNumber; end; // *********************************************************************// // DispIntf: IViewsDisp // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {9CD1B5E6-C1A2-4910-8D0C-97080B14AA3D} // *********************************************************************// IViewsDisp = dispinterface ['{9CD1B5E6-C1A2-4910-8D0C-97080B14AA3D}'] property View[Index: OleVariant]: IView readonly dispid 1; property ViewByNumber[Numb: Integer]: IView readonly dispid 2; function Add(ViewType: LtViewType): IView; dispid 3; property Item[Index: OleVariant]: IDrawingObject readonly dispid 0; default; property _NewEnum: IUnknown readonly dispid -4; property Count: Integer readonly dispid 2000; property Parent: IKompasAPIObject readonly dispid 1000; property Application: IApplication readonly dispid 1001; property Type_: KompasAPIObjectTypeEnum readonly dispid 1002; property Reference: Integer readonly dispid 1003; end; // *********************************************************************// // Interface: IDrawingObject // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {07EF021F-11C1-4015-8D87-4DC94A2A71B0} // *********************************************************************// IDrawingObject = interface(IKompasAPIObject) ['{07EF021F-11C1-4015-8D87-4DC94A2A71B0}'] function Get_DrawingObjectType: DrawingObjectTypeEnum; safecall; function Get_LayerNumber: Integer; safecall; procedure Set_LayerNumber(PVal: Integer); safecall; function Get_Temp: WordBool; safecall; function Get_Valid: WordBool; safecall; function Update: WordBool; safecall; function Delete: WordBool; safecall; property DrawingObjectType: DrawingObjectTypeEnum read Get_DrawingObjectType; property LayerNumber: Integer read Get_LayerNumber write Set_LayerNumber; property Temp: WordBool read Get_Temp; property Valid: WordBool read Get_Valid; end; // *********************************************************************// // DispIntf: IDrawingObjectDisp // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {07EF021F-11C1-4015-8D87-4DC94A2A71B0} // *********************************************************************// IDrawingObjectDisp = dispinterface ['{07EF021F-11C1-4015-8D87-4DC94A2A71B0}'] property DrawingObjectType: DrawingObjectTypeEnum readonly dispid 3000; property LayerNumber: Integer dispid 3001; property Temp: WordBool readonly dispid 3002; property Valid: WordBool readonly dispid 3003; function Update: WordBool; dispid 3004; function Delete: WordBool; dispid 3005; property Parent: IKompasAPIObject readonly dispid 1000; property Application: IApplication readonly dispid 1001; property Type_: KompasAPIObjectTypeEnum readonly dispid 1002; property Reference: Integer readonly dispid 1003; end; // *********************************************************************// // Interface: IView // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {21A7BA87-1C8B-41B4-8247-CDD593546F37} // *********************************************************************// IView = interface(IDrawingObject) ['{21A7BA87-1C8B-41B4-8247-CDD593546F37}'] procedure Set_Number(PVal: Integer); safecall; function Get_Number: Integer; safecall; procedure Set_Name(const PVal: WideString); safecall; function Get_Name: WideString; safecall; procedure Set_Background(PVal: WordBool); safecall; function Get_Background: WordBool; safecall; procedure Set_Visible(PVal: WordBool); safecall; function Get_Visible: WordBool; safecall; procedure Set_Current(PVal: WordBool); safecall; function Get_Current: WordBool; safecall; procedure Set_Color(PVal: Integer); safecall; function Get_Color: Integer; safecall; procedure Set_Comment(const PVal: WideString); safecall; function Get_Comment: WideString; safecall; function Get_ObjectCount: Integer; safecall; procedure Set_X(PVal: Double); safecall; function Get_X: Double; safecall; procedure Set_Y(PVal: Double); safecall; function Get_Y: Double; safecall; procedure Set_Scale(PVal: Double); safecall; function Get_Scale: Double; safecall; procedure Set_Angle(PVal: Double); safecall; function Get_Angle: Double; safecall; function Get_ViewType: LtViewType; safecall; function Get_Layers: ILayers; safecall; property Number: Integer read Get_Number write Set_Number; property Name: WideString read Get_Name write Set_Name; property Background: WordBool read Get_Background write Set_Background; property Visible: WordBool read Get_Visible write Set_Visible; property Current: WordBool read Get_Current write Set_Current; property Color: Integer read Get_Color write Set_Color; property Comment: WideString read Get_Comment write Set_Comment; property ObjectCount: Integer read Get_ObjectCount; property X: Double read Get_X write Set_X; property Y: Double read Get_Y write Set_Y; property Scale: Double read Get_Scale write Set_Scale; property Angle: Double read Get_Angle write Set_Angle; property ViewType: LtViewType read Get_ViewType; property Layers: ILayers read Get_Layers; end; // *********************************************************************// // DispIntf: IViewDisp // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {21A7BA87-1C8B-41B4-8247-CDD593546F37} // *********************************************************************// IViewDisp = dispinterface ['{21A7BA87-1C8B-41B4-8247-CDD593546F37}'] property Number: Integer dispid 1; property Name: WideString dispid 2; property Background: WordBool dispid 3; property Visible: WordBool dispid 4; property Current: WordBool dispid 5; property Color: Integer dispid 6; property Comment: WideString dispid 7; property ObjectCount: Integer readonly dispid 8; property X: Double dispid 9; property Y: Double dispid 10; property Scale: Double dispid 11; property Angle: Double dispid 12; property ViewType: LtViewType readonly dispid 13; property Layers: ILayers readonly dispid 14; property DrawingObjectType: DrawingObjectTypeEnum readonly dispid 3000; property LayerNumber: Integer dispid 3001; property Temp: WordBool readonly dispid 3002; property Valid: WordBool readonly dispid 3003; function Update: WordBool; dispid 3004; function Delete: WordBool; dispid 3005; property Parent: IKompasAPIObject readonly dispid 1000; property Application: IApplication readonly dispid 1001; property Type_: KompasAPIObjectTypeEnum readonly dispid 1002; property Reference: Integer readonly dispid 1003; end; // *********************************************************************// // Interface: ILayers // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {F6DC2898-D596-4418-A21A-D15AE07B9A40} // *********************************************************************// ILayers = interface(IDrawingObjects) ['{F6DC2898-D596-4418-A21A-D15AE07B9A40}'] function Get_Layer(Index: OleVariant): ILayer; safecall; function Get_LayerByNumber(Number: Integer): ILayer; safecall; function Add: ILayer; safecall; function Attach(const PVal: ILayer): WordBool; safecall; function Detach(const PVal: ILayer): WordBool; safecall; property Layer[Index: OleVariant]: ILayer read Get_Layer; property LayerByNumber[Number: Integer]: ILayer read Get_LayerByNumber; end; // *********************************************************************// // DispIntf: ILayersDisp // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {F6DC2898-D596-4418-A21A-D15AE07B9A40} // *********************************************************************// ILayersDisp = dispinterface ['{F6DC2898-D596-4418-A21A-D15AE07B9A40}'] property Layer[Index: OleVariant]: ILayer readonly dispid 1; property LayerByNumber[Number: Integer]: ILayer readonly dispid 2; function Add: ILayer; dispid 3; function Attach(const PVal: ILayer): WordBool; dispid 4; function Detach(const PVal: ILayer): WordBool; dispid 5; property Item[Index: OleVariant]: IDrawingObject readonly dispid 0; default; property _NewEnum: IUnknown readonly dispid -4; property Count: Integer readonly dispid 2000; property Parent: IKompasAPIObject readonly dispid 1000; property Application: IApplication readonly dispid 1001; property Type_: KompasAPIObjectTypeEnum readonly dispid 1002; property Reference: Integer readonly dispid 1003; end; // *********************************************************************// // Interface: ILayer // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {9AD76C38-CC48-4901-AEE5-27B48F51563C} // *********************************************************************// ILayer = interface(IDrawingObject) ['{9AD76C38-CC48-4901-AEE5-27B48F51563C}'] procedure Set_Name(const PVal: WideString); safecall; function Get_Name: WideString; safecall; procedure Set_Background(PVal: WordBool); safecall; function Get_Background: WordBool; safecall; procedure Set_Visible(PVal: WordBool); safecall; function Get_Visible: WordBool; safecall; procedure Set_Current(PVal: WordBool); safecall; function Get_Current: WordBool; safecall; procedure Set_Color(PVal: Integer); safecall; function Get_Color: Integer; safecall; procedure Set_Comment(const PVal: WideString); safecall; function Get_Comment: WideString; safecall; function Get_ObjectCount: Integer; safecall; property Name: WideString read Get_Name write Set_Name; property Background: WordBool read Get_Background write Set_Background; property Visible: WordBool read Get_Visible write Set_Visible; property Current: WordBool read Get_Current write Set_Current; property Color: Integer read Get_Color write Set_Color; property Comment: WideString read Get_Comment write Set_Comment; property ObjectCount: Integer read Get_ObjectCount; end; // *********************************************************************// // DispIntf: ILayerDisp // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {9AD76C38-CC48-4901-AEE5-27B48F51563C} // *********************************************************************// ILayerDisp = dispinterface ['{9AD76C38-CC48-4901-AEE5-27B48F51563C}'] property Name: WideString dispid 1; property Background: WordBool dispid 2; property Visible: WordBool dispid 3; property Current: WordBool dispid 4; property Color: Integer dispid 5; property Comment: WideString dispid 6; property ObjectCount: Integer readonly dispid 7; property DrawingObjectType: DrawingObjectTypeEnum readonly dispid 3000; property LayerNumber: Integer dispid 3001; property Temp: WordBool readonly dispid 3002; property Valid: WordBool readonly dispid 3003; function Update: WordBool; dispid 3004; function Delete: WordBool; dispid 3005; property Parent: IKompasAPIObject readonly dispid 1000; property Application: IApplication readonly dispid 1001; property Type_: KompasAPIObjectTypeEnum readonly dispid 1002; property Reference: Integer readonly dispid 1003; end; // *********************************************************************// // Interface: ILayerGroups // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {DBFF6D98-8F79-453E-9B8B-81E40A6D8027} // *********************************************************************// ILayerGroups = interface(IKompasCollection) ['{DBFF6D98-8F79-453E-9B8B-81E40A6D8027}'] function Get_Item(Index: OleVariant): ILayerGroup; safecall; function Add(const Owner: IView; Dinamic: WordBool): ILayerGroup; safecall; function Attach(const PGroup: ILayerGroup): WordBool; safecall; function Detach(const PGroup: ILayerGroup): WordBool; safecall; property Item[Index: OleVariant]: ILayerGroup read Get_Item; default; end; // *********************************************************************// // DispIntf: ILayerGroupsDisp // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {DBFF6D98-8F79-453E-9B8B-81E40A6D8027} // *********************************************************************// ILayerGroupsDisp = dispinterface ['{DBFF6D98-8F79-453E-9B8B-81E40A6D8027}'] property Item[Index: OleVariant]: ILayerGroup readonly dispid 0; default; function Add(const Owner: IView; Dinamic: WordBool): ILayerGroup; dispid 1; function Attach(const PGroup: ILayerGroup): WordBool; dispid 2; function Detach(const PGroup: ILayerGroup): WordBool; dispid 3; property _NewEnum: IUnknown readonly dispid -4; property Count: Integer readonly dispid 2000; property Parent: IKompasAPIObject readonly dispid 1000; property Application: IApplication readonly dispid 1001; property Type_: KompasAPIObjectTypeEnum readonly dispid 1002; property Reference: Integer readonly dispid 1003; end; // *********************************************************************// // Interface: ILayerGroup // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {265BBB5A-7B8A-4AA5-A0BB-FF64D23BE62B} // *********************************************************************// ILayerGroup = interface(IKompasAPIObject) ['{265BBB5A-7B8A-4AA5-A0BB-FF64D23BE62B}'] function Get_OwnerGroup: ILayerGroup; safecall; function Get_LayerGroups: ILayerGroups; safecall; function Get_Layers: ILayers; safecall; procedure Set_Name(const PVal: WideString); safecall; function Get_Name: WideString; safecall; function Get_LayerFilterConditions: ILayerFilterConditions; safecall; function GetLayerStates(LayerIndex: OleVariant; out Visible: WordBool; out Background: WordBool; out Curent: WordBool; out Color: Integer): WordBool; safecall; function SetLayerStates(LayerIndex: OleVariant; Visible: WordBool; Background: WordBool; Curent: WordBool; Color: Integer): WordBool; safecall; procedure Set_Current(PVal: WordBool); safecall; function Get_Current: WordBool; safecall; function Delete: WordBool; safecall; function Get_OwnerView: IView; safecall; procedure Set_OwnerView(const PVal: IView); safecall; function Get_UniqueId: Double; safecall; property OwnerGroup: ILayerGroup read Get_OwnerGroup; property LayerGroups: ILayerGroups read Get_LayerGroups; property Layers: ILayers read Get_Layers; property Name: WideString read Get_Name write Set_Name; property LayerFilterConditions: ILayerFilterConditions read Get_LayerFilterConditions; property Current: WordBool read Get_Current write Set_Current; property OwnerView: IView read Get_OwnerView write Set_OwnerView; property UniqueId: Double read Get_UniqueId; end; // *********************************************************************// // DispIntf: ILayerGroupDisp // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {265BBB5A-7B8A-4AA5-A0BB-FF64D23BE62B} // *********************************************************************// ILayerGroupDisp = dispinterface ['{265BBB5A-7B8A-4AA5-A0BB-FF64D23BE62B}'] property OwnerGroup: ILayerGroup readonly dispid 1; property LayerGroups: ILayerGroups readonly dispid 2; property Layers: ILayers readonly dispid 3; property Name: WideString dispid 4; property LayerFilterConditions: ILayerFilterConditions readonly dispid 5; function GetLayerStates(LayerIndex: OleVariant; out Visible: WordBool; out Background: WordBool; out Curent: WordBool; out Color: Integer): WordBool; dispid 6; function SetLayerStates(LayerIndex: OleVariant; Visible: WordBool; Background: WordBool; Curent: WordBool; Color: Integer): WordBool; dispid 7; property Current: WordBool dispid 8; function Delete: WordBool; dispid 9; property OwnerView: IView dispid 10; property UniqueId: Double readonly dispid 11; property Parent: IKompasAPIObject readonly dispid 1000; property Application: IApplication readonly dispid 1001; property Type_: KompasAPIObjectTypeEnum readonly dispid 1002; property Reference: Integer readonly dispid 1003; end; // *********************************************************************// // Interface: ILayerFilterConditions // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {BCA22E27-AB60-4BA6-87EE-92158AA6D366} // *********************************************************************// ILayerFilterConditions = interface(IKompasCollection) ['{BCA22E27-AB60-4BA6-87EE-92158AA6D366}'] function Get_Item(Index: OleVariant): ILayerFilterCondition; safecall; function Add: ILayerFilterCondition; safecall; property Item[Index: OleVariant]: ILayerFilterCondition read Get_Item; default; end; // *********************************************************************// // DispIntf: ILayerFilterConditionsDisp // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {BCA22E27-AB60-4BA6-87EE-92158AA6D366} // *********************************************************************// ILayerFilterConditionsDisp = dispinterface ['{BCA22E27-AB60-4BA6-87EE-92158AA6D366}'] property Item[Index: OleVariant]: ILayerFilterCondition readonly dispid 0; default; function Add: ILayerFilterCondition; dispid 2; property _NewEnum: IUnknown readonly dispid -4; property Count: Integer readonly dispid 2000; property Parent: IKompasAPIObject readonly dispid 1000; property Application: IApplication readonly dispid 1001; property Type_: KompasAPIObjectTypeEnum readonly dispid 1002; property Reference: Integer readonly dispid 1003; end; // *********************************************************************// // Interface: ILayerFilterCondition // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {D743BC12-82A9-4E8F-85B2-7154A356ACC0} // *********************************************************************// ILayerFilterCondition = interface(IKompasAPIObject) ['{D743BC12-82A9-4E8F-85B2-7154A356ACC0}'] procedure Set_Number(const PVal: WideString); safecall; function Get_Number: WideString; safecall; procedure Set_Name(const PVal: WideString); safecall; function Get_Name: WideString; safecall; procedure Set_Background(PVal: FilterCondotionStateEnum); safecall; function Get_Background: FilterCondotionStateEnum; safecall; procedure Set_Visible(PVal: FilterCondotionStateEnum); safecall; function Get_Visible: FilterCondotionStateEnum; safecall; procedure Set_HaveObjects(PVal: FilterCondotionStateEnum); safecall; function Get_HaveObjects: FilterCondotionStateEnum; safecall; procedure Set_Color(PVal: Integer); safecall; function Get_Color: Integer; safecall; procedure Set_Comment(const PVal: WideString); safecall; function Get_Comment: WideString; safecall; property Number: WideString read Get_Number write Set_Number; property Name: WideString read Get_Name write Set_Name; property Background: FilterCondotionStateEnum read Get_Background write Set_Background; property Visible: FilterCondotionStateEnum read Get_Visible write Set_Visible; property HaveObjects: FilterCondotionStateEnum read Get_HaveObjects write Set_HaveObjects; property Color: Integer read Get_Color write Set_Color; property Comment: WideString read Get_Comment write Set_Comment; end; // *********************************************************************// // DispIntf: ILayerFilterConditionDisp // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {D743BC12-82A9-4E8F-85B2-7154A356ACC0} // *********************************************************************// ILayerFilterConditionDisp = dispinterface ['{D743BC12-82A9-4E8F-85B2-7154A356ACC0}'] property Number: WideString dispid 1; property Name: WideString dispid 2; property Background: FilterCondotionStateEnum dispid 3; property Visible: FilterCondotionStateEnum dispid 4; property HaveObjects: FilterCondotionStateEnum dispid 5; property Color: Integer dispid 6; property Comment: WideString dispid 7; property Parent: IKompasAPIObject readonly dispid 1000; property Application: IApplication readonly dispid 1001; property Type_: KompasAPIObjectTypeEnum readonly dispid 1002; property Reference: Integer readonly dispid 1003; end; // *********************************************************************// // Interface: IKompasDocument3D // Flags: (4560) Hidden Dual NonExtensible OleAutomation Dispatchable // GUID: {7B60E769-06C3-4FDC-9677-7B5EF5180308} // *********************************************************************// IKompasDocument3D = interface(IKompasDocument) ['{7B60E769-06C3-4FDC-9677-7B5EF5180308}'] end; // *********************************************************************// // DispIntf: IKompasDocument3DDisp // Flags: (4560) Hidden Dual NonExtensible OleAutomation Dispatchable // GUID: {7B60E769-06C3-4FDC-9677-7B5EF5180308} // *********************************************************************// IKompasDocument3DDisp = dispinterface ['{7B60E769-06C3-4FDC-9677-7B5EF5180308}'] property DocumentType: DocumentTypeEnum readonly dispid 3000; property DocumentFrames: IDocumentFrames readonly dispid 3001; function Close(closeOptions: DocumentCloseOptions): WordBool; dispid 3002; procedure Save; dispid 3003; procedure SaveAs(const PathName: WideString); dispid 3004; property Name: WideString readonly dispid 3005; property PathName: WideString readonly dispid 3006; property Path: WideString readonly dispid 3007; property Visible: WordBool readonly dispid 3008; property Active: WordBool dispid 3009; property ReadOnly: WordBool dispid 3010; property Changed: WordBool readonly dispid 3011; property DocumentSettings: IDocumentSettings readonly dispid 3012; property Parent: IKompasAPIObject readonly dispid 1000; property Application: IApplication readonly dispid 1001; property Type_: KompasAPIObjectTypeEnum readonly dispid 1002; property Reference: Integer readonly dispid 1003; end; // *********************************************************************// // Interface: IDrawingDocument // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {C2214318-5C89-40F8-A25C-C87D08B490F4} // *********************************************************************// IDrawingDocument = interface(IKompasDocument2D) ['{C2214318-5C89-40F8-A25C-C87D08B490F4}'] end; // *********************************************************************// // DispIntf: IDrawingDocumentDisp // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {C2214318-5C89-40F8-A25C-C87D08B490F4} // *********************************************************************// IDrawingDocumentDisp = dispinterface ['{C2214318-5C89-40F8-A25C-C87D08B490F4}'] property ViewsAndLayersManager: IViewsAndLayersManager readonly dispid 1; function GetDrawingObjectNotifyResult: IDispatch; dispid 2; property DocumentType: DocumentTypeEnum readonly dispid 3000; property DocumentFrames: IDocumentFrames readonly dispid 3001; function Close(closeOptions: DocumentCloseOptions): WordBool; dispid 3002; procedure Save; dispid 3003; procedure SaveAs(const PathName: WideString); dispid 3004; property Name: WideString readonly dispid 3005; property PathName: WideString readonly dispid 3006; property Path: WideString readonly dispid 3007; property Visible: WordBool readonly dispid 3008; property Active: WordBool dispid 3009; property ReadOnly: WordBool dispid 3010; property Changed: WordBool readonly dispid 3011; property DocumentSettings: IDocumentSettings readonly dispid 3012; property Parent: IKompasAPIObject readonly dispid 1000; property Application: IApplication readonly dispid 1001; property Type_: KompasAPIObjectTypeEnum readonly dispid 1002; property Reference: Integer readonly dispid 1003; end; // *********************************************************************// // Interface: IFragmentDocument // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {E19CE626-DF9C-48C4-A83D-3E3BC7F0DACA} // *********************************************************************// IFragmentDocument = interface(IKompasDocument2D) ['{E19CE626-DF9C-48C4-A83D-3E3BC7F0DACA}'] end; // *********************************************************************// // DispIntf: IFragmentDocumentDisp // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {E19CE626-DF9C-48C4-A83D-3E3BC7F0DACA} // *********************************************************************// IFragmentDocumentDisp = dispinterface ['{E19CE626-DF9C-48C4-A83D-3E3BC7F0DACA}'] property ViewsAndLayersManager: IViewsAndLayersManager readonly dispid 1; function GetDrawingObjectNotifyResult: IDispatch; dispid 2; property DocumentType: DocumentTypeEnum readonly dispid 3000; property DocumentFrames: IDocumentFrames readonly dispid 3001; function Close(closeOptions: DocumentCloseOptions): WordBool; dispid 3002; procedure Save; dispid 3003; procedure SaveAs(const PathName: WideString); dispid 3004; property Name: WideString readonly dispid 3005; property PathName: WideString readonly dispid 3006; property Path: WideString readonly dispid 3007; property Visible: WordBool readonly dispid 3008; property Active: WordBool dispid 3009; property ReadOnly: WordBool dispid 3010; property Changed: WordBool readonly dispid 3011; property DocumentSettings: IDocumentSettings readonly dispid 3012; property Parent: IKompasAPIObject readonly dispid 1000; property Application: IApplication readonly dispid 1001; property Type_: KompasAPIObjectTypeEnum readonly dispid 1002; property Reference: Integer readonly dispid 1003; end; // *********************************************************************// // Interface: ISpecificationDocument // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {E3FA8FD0-6187-4625-89B7-3C815651944D} // *********************************************************************// ISpecificationDocument = interface(IKompasDocument) ['{E3FA8FD0-6187-4625-89B7-3C815651944D}'] end; // *********************************************************************// // DispIntf: ISpecificationDocumentDisp // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {E3FA8FD0-6187-4625-89B7-3C815651944D} // *********************************************************************// ISpecificationDocumentDisp = dispinterface ['{E3FA8FD0-6187-4625-89B7-3C815651944D}'] property DocumentType: DocumentTypeEnum readonly dispid 3000; property DocumentFrames: IDocumentFrames readonly dispid 3001; function Close(closeOptions: DocumentCloseOptions): WordBool; dispid 3002; procedure Save; dispid 3003; procedure SaveAs(const PathName: WideString); dispid 3004; property Name: WideString readonly dispid 3005; property PathName: WideString readonly dispid 3006; property Path: WideString readonly dispid 3007; property Visible: WordBool readonly dispid 3008; property Active: WordBool dispid 3009; property ReadOnly: WordBool dispid 3010; property Changed: WordBool readonly dispid 3011; property DocumentSettings: IDocumentSettings readonly dispid 3012; property Parent: IKompasAPIObject readonly dispid 1000; property Application: IApplication readonly dispid 1001; property Type_: KompasAPIObjectTypeEnum readonly dispid 1002; property Reference: Integer readonly dispid 1003; end; // *********************************************************************// // Interface: ITextDocument // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {71A589EA-D32F-42C4-BBC4-A51611E85E90} // *********************************************************************// ITextDocument = interface(IKompasDocument) ['{71A589EA-D32F-42C4-BBC4-A51611E85E90}'] end; // *********************************************************************// // DispIntf: ITextDocumentDisp // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {71A589EA-D32F-42C4-BBC4-A51611E85E90} // *********************************************************************// ITextDocumentDisp = dispinterface ['{71A589EA-D32F-42C4-BBC4-A51611E85E90}'] property DocumentType: DocumentTypeEnum readonly dispid 3000; property DocumentFrames: IDocumentFrames readonly dispid 3001; function Close(closeOptions: DocumentCloseOptions): WordBool; dispid 3002; procedure Save; dispid 3003; procedure SaveAs(const PathName: WideString); dispid 3004; property Name: WideString readonly dispid 3005; property PathName: WideString readonly dispid 3006; property Path: WideString readonly dispid 3007; property Visible: WordBool readonly dispid 3008; property Active: WordBool dispid 3009; property ReadOnly: WordBool dispid 3010; property Changed: WordBool readonly dispid 3011; property DocumentSettings: IDocumentSettings readonly dispid 3012; property Parent: IKompasAPIObject readonly dispid 1000; property Application: IApplication readonly dispid 1001; property Type_: KompasAPIObjectTypeEnum readonly dispid 1002; property Reference: Integer readonly dispid 1003; end; // *********************************************************************// // Interface: IPartDocument // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {0075EA2A-5498-4E28-BDF3-0288EB168054} // *********************************************************************// IPartDocument = interface(IKompasDocument3D) ['{0075EA2A-5498-4E28-BDF3-0288EB168054}'] end; // *********************************************************************// // DispIntf: IPartDocumentDisp // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {0075EA2A-5498-4E28-BDF3-0288EB168054} // *********************************************************************// IPartDocumentDisp = dispinterface ['{0075EA2A-5498-4E28-BDF3-0288EB168054}'] property DocumentType: DocumentTypeEnum readonly dispid 3000; property DocumentFrames: IDocumentFrames readonly dispid 3001; function Close(closeOptions: DocumentCloseOptions): WordBool; dispid 3002; procedure Save; dispid 3003; procedure SaveAs(const PathName: WideString); dispid 3004; property Name: WideString readonly dispid 3005; property PathName: WideString readonly dispid 3006; property Path: WideString readonly dispid 3007; property Visible: WordBool readonly dispid 3008; property Active: WordBool dispid 3009; property ReadOnly: WordBool dispid 3010; property Changed: WordBool readonly dispid 3011; property DocumentSettings: IDocumentSettings readonly dispid 3012; property Parent: IKompasAPIObject readonly dispid 1000; property Application: IApplication readonly dispid 1001; property Type_: KompasAPIObjectTypeEnum readonly dispid 1002; property Reference: Integer readonly dispid 1003; end; // *********************************************************************// // Interface: IAssemblyDocument // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {F6B3F33A-3273-43EF-9B8A-7C0AF8FAA129} // *********************************************************************// IAssemblyDocument = interface(IKompasDocument3D) ['{F6B3F33A-3273-43EF-9B8A-7C0AF8FAA129}'] end; // *********************************************************************// // DispIntf: IAssemblyDocumentDisp // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {F6B3F33A-3273-43EF-9B8A-7C0AF8FAA129} // *********************************************************************// IAssemblyDocumentDisp = dispinterface ['{F6B3F33A-3273-43EF-9B8A-7C0AF8FAA129}'] property DocumentType: DocumentTypeEnum readonly dispid 3000; property DocumentFrames: IDocumentFrames readonly dispid 3001; function Close(closeOptions: DocumentCloseOptions): WordBool; dispid 3002; procedure Save; dispid 3003; procedure SaveAs(const PathName: WideString); dispid 3004; property Name: WideString readonly dispid 3005; property PathName: WideString readonly dispid 3006; property Path: WideString readonly dispid 3007; property Visible: WordBool readonly dispid 3008; property Active: WordBool dispid 3009; property ReadOnly: WordBool dispid 3010; property Changed: WordBool readonly dispid 3011; property DocumentSettings: IDocumentSettings readonly dispid 3012; property Parent: IKompasAPIObject readonly dispid 1000; property Application: IApplication readonly dispid 1001; property Type_: KompasAPIObjectTypeEnum readonly dispid 1002; property Reference: Integer readonly dispid 1003; end; // *********************************************************************// // Interface: IPropertyEdit // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {1D238C4C-AAD7-4374-B372-013CF7FCEDB4} // *********************************************************************// IPropertyEdit = interface(IPropertyControl) ['{1D238C4C-AAD7-4374-B372-013CF7FCEDB4}'] function Get_MinValue: OleVariant; safecall; function Get_MaxValue: OleVariant; safecall; function SetValueRange(MinVal: OleVariant; MaxVal: OleVariant): WordBool; safecall; procedure Set_WithCheck(PVal: WordBool); safecall; function Get_WithCheck: WordBool; safecall; procedure Set_CheckState(PVal: CheckStateEnum); safecall; function Get_CheckState: CheckStateEnum; safecall; procedure Set_ReadOnly(PVal: WordBool); safecall; function Get_ReadOnly: WordBool; safecall; procedure Set_Width(PVal: Integer); safecall; function Get_Width: Integer; safecall; property MinValue: OleVariant read Get_MinValue; property MaxValue: OleVariant read Get_MaxValue; property WithCheck: WordBool read Get_WithCheck write Set_WithCheck; property CheckState: CheckStateEnum read Get_CheckState write Set_CheckState; property ReadOnly: WordBool read Get_ReadOnly write Set_ReadOnly; property Width: Integer read Get_Width write Set_Width; end; // *********************************************************************// // DispIntf: IPropertyEditDisp // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {1D238C4C-AAD7-4374-B372-013CF7FCEDB4} // *********************************************************************// IPropertyEditDisp = dispinterface ['{1D238C4C-AAD7-4374-B372-013CF7FCEDB4}'] property MinValue: OleVariant readonly dispid 101; property MaxValue: OleVariant readonly dispid 102; function SetValueRange(MinVal: OleVariant; MaxVal: OleVariant): WordBool; dispid 103; property WithCheck: WordBool dispid 104; property CheckState: CheckStateEnum dispid 105; property ReadOnly: WordBool dispid 106; property Width: Integer dispid 107; property Visible: WordBool dispid 1; property Name: WideString dispid 2; property ControlType: ControlTypeEnum readonly dispid 3; property Id: Integer dispid 4; property Enable: WordBool dispid 5; property Value: OleVariant dispid 6; property NameVisibility: PropertyControlNameVisibility dispid 7; property Hint: WideString dispid 8; property Tips: WideString dispid 9; property Parent: IKompasAPIObject readonly dispid 1000; property Application: IApplication readonly dispid 1001; property Type_: KompasAPIObjectTypeEnum readonly dispid 1002; property Reference: Integer readonly dispid 1003; end; // *********************************************************************// // Interface: IPropertySeparator // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {4504EFA0-D059-4FD4-B725-FA264D190869} // *********************************************************************// IPropertySeparator = interface(IPropertyControl) ['{4504EFA0-D059-4FD4-B725-FA264D190869}'] procedure Set_SeparatorType(PVal: SeparatorTypeEnum); safecall; function Get_SeparatorType: SeparatorTypeEnum; safecall; function SetImage(IdBmp: OleVariant; HInstance: OleVariant): WordBool; safecall; property SeparatorType: SeparatorTypeEnum read Get_SeparatorType write Set_SeparatorType; end; // *********************************************************************// // DispIntf: IPropertySeparatorDisp // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {4504EFA0-D059-4FD4-B725-FA264D190869} // *********************************************************************// IPropertySeparatorDisp = dispinterface ['{4504EFA0-D059-4FD4-B725-FA264D190869}'] property SeparatorType: SeparatorTypeEnum dispid 101; function SetImage(IdBmp: OleVariant; HInstance: OleVariant): WordBool; dispid 102; property Visible: WordBool dispid 1; property Name: WideString dispid 2; property ControlType: ControlTypeEnum readonly dispid 3; property Id: Integer dispid 4; property Enable: WordBool dispid 5; property Value: OleVariant dispid 6; property NameVisibility: PropertyControlNameVisibility dispid 7; property Hint: WideString dispid 8; property Tips: WideString dispid 9; property Parent: IKompasAPIObject readonly dispid 1000; property Application: IApplication readonly dispid 1001; property Type_: KompasAPIObjectTypeEnum readonly dispid 1002; property Reference: Integer readonly dispid 1003; end; // *********************************************************************// // Interface: IPropertyList // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {8F53E9D5-07AD-412E-8C2A-509BC633C4FF} // *********************************************************************// IPropertyList = interface(IPropertyControl) ['{8F53E9D5-07AD-412E-8C2A-509BC633C4FF}'] function Get_MinValue: OleVariant; safecall; function Get_MaxValue: OleVariant; safecall; function SetValueRange(MinVal: OleVariant; MaxVal: OleVariant): WordBool; safecall; procedure Set_WithCheck(PVal: WordBool); safecall; function Get_WithCheck: WordBool; safecall; procedure Set_CheckState(PVal: CheckStateEnum); safecall; function Get_CheckState: CheckStateEnum; safecall; procedure Set_ReadOnly(PVal: WordBool); safecall; function Get_ReadOnly: WordBool; safecall; procedure Set_Width(PVal: Integer); safecall; function Get_Width: Integer; safecall; procedure ClearList; safecall; procedure Add(NewVal: OleVariant); safecall; procedure Set_Sort(PVal: WordBool); safecall; function Get_Sort: WordBool; safecall; property MinValue: OleVariant read Get_MinValue; property MaxValue: OleVariant read Get_MaxValue; property WithCheck: WordBool read Get_WithCheck write Set_WithCheck; property CheckState: CheckStateEnum read Get_CheckState write Set_CheckState; property ReadOnly: WordBool read Get_ReadOnly write Set_ReadOnly; property Width: Integer read Get_Width write Set_Width; property Sort: WordBool read Get_Sort write Set_Sort; end; // *********************************************************************// // DispIntf: IPropertyListDisp // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {8F53E9D5-07AD-412E-8C2A-509BC633C4FF} // *********************************************************************// IPropertyListDisp = dispinterface ['{8F53E9D5-07AD-412E-8C2A-509BC633C4FF}'] property MinValue: OleVariant readonly dispid 101; property MaxValue: OleVariant readonly dispid 102; function SetValueRange(MinVal: OleVariant; MaxVal: OleVariant): WordBool; dispid 103; property WithCheck: WordBool dispid 104; property CheckState: CheckStateEnum dispid 105; property ReadOnly: WordBool dispid 106; property Width: Integer dispid 107; procedure ClearList; dispid 108; procedure Add(NewVal: OleVariant); dispid 109; property Sort: WordBool dispid 110; property Visible: WordBool dispid 1; property Name: WideString dispid 2; property ControlType: ControlTypeEnum readonly dispid 3; property Id: Integer dispid 4; property Enable: WordBool dispid 5; property Value: OleVariant dispid 6; property NameVisibility: PropertyControlNameVisibility dispid 7; property Hint: WideString dispid 8; property Tips: WideString dispid 9; property Parent: IKompasAPIObject readonly dispid 1000; property Application: IApplication readonly dispid 1001; property Type_: KompasAPIObjectTypeEnum readonly dispid 1002; property Reference: Integer readonly dispid 1003; end; // *********************************************************************// // Interface: IPropertyCheckBox // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {9205277D-B480-4AF7-B660-CCDC653F6453} // *********************************************************************// IPropertyCheckBox = interface(IPropertyControl) ['{9205277D-B480-4AF7-B660-CCDC653F6453}'] procedure SetCustomBitmaps(IdUnchecked: OleVariant; IdChecked: OleVariant; IdIndeterminate: OleVariant; HInstance: OleVariant); safecall; end; // *********************************************************************// // DispIntf: IPropertyCheckBoxDisp // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {9205277D-B480-4AF7-B660-CCDC653F6453} // *********************************************************************// IPropertyCheckBoxDisp = dispinterface ['{9205277D-B480-4AF7-B660-CCDC653F6453}'] procedure SetCustomBitmaps(IdUnchecked: OleVariant; IdChecked: OleVariant; IdIndeterminate: OleVariant; HInstance: OleVariant); dispid 101; property Visible: WordBool dispid 1; property Name: WideString dispid 2; property ControlType: ControlTypeEnum readonly dispid 3; property Id: Integer dispid 4; property Enable: WordBool dispid 5; property Value: OleVariant dispid 6; property NameVisibility: PropertyControlNameVisibility dispid 7; property Hint: WideString dispid 8; property Tips: WideString dispid 9; property Parent: IKompasAPIObject readonly dispid 1000; property Application: IApplication readonly dispid 1001; property Type_: KompasAPIObjectTypeEnum readonly dispid 1002; property Reference: Integer readonly dispid 1003; end; // *********************************************************************// // Interface: IPropertyMultiButton // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {3920A0BE-0628-47D5-B0F1-1DFEB77964BC} // *********************************************************************// IPropertyMultiButton = interface(IPropertyControl) ['{3920A0BE-0628-47D5-B0F1-1DFEB77964BC}'] procedure Set_ButtonsType(PVal: ButtonTypeEnum); safecall; function Get_ButtonsType: ButtonTypeEnum; safecall; procedure Set_ButtonChecked(BtnID: Integer; PVal: WordBool); safecall; function Get_ButtonChecked(BtnID: Integer): WordBool; safecall; procedure Set_ButtonEnable(BtnID: Integer; PVal: WordBool); safecall; function Get_ButtonEnable(BtnID: Integer): WordBool; safecall; procedure AddButton(BtnID: Integer; Bmp: OleVariant; InsertAt: Integer); safecall; procedure Set_ResModule(HInstance: OleVariant); safecall; function Get_ResModule: OleVariant; safecall; procedure Set_ButtonTips(BtnID: Integer; const PVal: WideString); safecall; function Get_ButtonTips(BtnID: Integer): WideString; safecall; procedure Set_ButtonHint(BtnID: Integer; const PVal: WideString); safecall; function Get_ButtonHint(BtnID: Integer): WideString; safecall; property ButtonsType: ButtonTypeEnum read Get_ButtonsType write Set_ButtonsType; property ButtonChecked[BtnID: Integer]: WordBool read Get_ButtonChecked write Set_ButtonChecked; property ButtonEnable[BtnID: Integer]: WordBool read Get_ButtonEnable write Set_ButtonEnable; property ResModule: OleVariant read Get_ResModule write Set_ResModule; property ButtonTips[BtnID: Integer]: WideString read Get_ButtonTips write Set_ButtonTips; property ButtonHint[BtnID: Integer]: WideString read Get_ButtonHint write Set_ButtonHint; end; // *********************************************************************// // DispIntf: IPropertyMultiButtonDisp // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {3920A0BE-0628-47D5-B0F1-1DFEB77964BC} // *********************************************************************// IPropertyMultiButtonDisp = dispinterface ['{3920A0BE-0628-47D5-B0F1-1DFEB77964BC}'] property ButtonsType: ButtonTypeEnum dispid 101; property ButtonChecked[BtnID: Integer]: WordBool dispid 102; property ButtonEnable[BtnID: Integer]: WordBool dispid 103; procedure AddButton(BtnID: Integer; Bmp: OleVariant; InsertAt: Integer); dispid 104; property ResModule: OleVariant dispid 105; property ButtonTips[BtnID: Integer]: WideString dispid 106; property ButtonHint[BtnID: Integer]: WideString dispid 107; property Visible: WordBool dispid 1; property Name: WideString dispid 2; property ControlType: ControlTypeEnum readonly dispid 3; property Id: Integer dispid 4; property Enable: WordBool dispid 5; property Value: OleVariant dispid 6; property NameVisibility: PropertyControlNameVisibility dispid 7; property Hint: WideString dispid 8; property Tips: WideString dispid 9; property Parent: IKompasAPIObject readonly dispid 1000; property Application: IApplication readonly dispid 1001; property Type_: KompasAPIObjectTypeEnum readonly dispid 1002; property Reference: Integer readonly dispid 1003; end; // *********************************************************************// // Interface: IPropertySlideBox // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {E1DB38CD-A6D5-44B8-9AD0-0056B87924DD} // *********************************************************************// IPropertySlideBox = interface(IPropertyControl) ['{E1DB38CD-A6D5-44B8-9AD0-0056B87924DD}'] procedure Set_ResModule(HInstance: OleVariant); safecall; function Get_ResModule: OleVariant; safecall; procedure Set_SlideType(Type_: SlideTypeEnum); safecall; function Get_SlideType: SlideTypeEnum; safecall; procedure Set_DrawingSlide(Slide: OleVariant); safecall; function Get_DrawingSlide: OleVariant; safecall; procedure Set_Width(Width: Integer); safecall; function Get_Width: Integer; safecall; procedure Set_Height(Height: Integer); safecall; function Get_Height: Integer; safecall; procedure Set_CheckBoxVisibility(PVal: WordBool); safecall; function Get_CheckBoxVisibility: WordBool; safecall; procedure UpdateParam; safecall; property ResModule: OleVariant read Get_ResModule write Set_ResModule; property SlideType: SlideTypeEnum read Get_SlideType write Set_SlideType; property DrawingSlide: OleVariant read Get_DrawingSlide write Set_DrawingSlide; property Width: Integer read Get_Width write Set_Width; property Height: Integer read Get_Height write Set_Height; property CheckBoxVisibility: WordBool read Get_CheckBoxVisibility write Set_CheckBoxVisibility; end; // *********************************************************************// // DispIntf: IPropertySlideBoxDisp // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {E1DB38CD-A6D5-44B8-9AD0-0056B87924DD} // *********************************************************************// IPropertySlideBoxDisp = dispinterface ['{E1DB38CD-A6D5-44B8-9AD0-0056B87924DD}'] property ResModule: OleVariant dispid 101; property SlideType: SlideTypeEnum dispid 102; property DrawingSlide: OleVariant dispid 103; property Width: Integer dispid 104; property Height: Integer dispid 105; property CheckBoxVisibility: WordBool dispid 106; procedure UpdateParam; dispid 107; property Visible: WordBool dispid 1; property Name: WideString dispid 2; property ControlType: ControlTypeEnum readonly dispid 3; property Id: Integer dispid 4; property Enable: WordBool dispid 5; property Value: OleVariant dispid 6; property NameVisibility: PropertyControlNameVisibility dispid 7; property Hint: WideString dispid 8; property Tips: WideString dispid 9; property Parent: IKompasAPIObject readonly dispid 1000; property Application: IApplication readonly dispid 1001; property Type_: KompasAPIObjectTypeEnum readonly dispid 1002; property Reference: Integer readonly dispid 1003; end; // *********************************************************************// // Interface: IPropertyUserControl // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {5A902C6C-A030-4F37-A089-91505BAEE466} // *********************************************************************// IPropertyUserControl = interface(IPropertyControl) ['{5A902C6C-A030-4F37-A089-91505BAEE466}'] procedure Set_Width(Width: Integer); safecall; function Get_Width: Integer; safecall; procedure Set_Height(Height: Integer); safecall; function Get_Height: Integer; safecall; procedure SetOCXControl(const ProgID: WideString); safecall; property Width: Integer read Get_Width write Set_Width; property Height: Integer read Get_Height write Set_Height; end; // *********************************************************************// // DispIntf: IPropertyUserControlDisp // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {5A902C6C-A030-4F37-A089-91505BAEE466} // *********************************************************************// IPropertyUserControlDisp = dispinterface ['{5A902C6C-A030-4F37-A089-91505BAEE466}'] property Width: Integer dispid 101; property Height: Integer dispid 102; procedure SetOCXControl(const ProgID: WideString); dispid 103; property Visible: WordBool dispid 1; property Name: WideString dispid 2; property ControlType: ControlTypeEnum readonly dispid 3; property Id: Integer dispid 4; property Enable: WordBool dispid 5; property Value: OleVariant dispid 6; property NameVisibility: PropertyControlNameVisibility dispid 7; property Hint: WideString dispid 8; property Tips: WideString dispid 9; property Parent: IKompasAPIObject readonly dispid 1000; property Application: IApplication readonly dispid 1001; property Type_: KompasAPIObjectTypeEnum readonly dispid 1002; property Reference: Integer readonly dispid 1003; end; // *********************************************************************// // Interface: IPropertyGrid // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {6682B70F-59DB-4BF0-AB01-45B65B1BDED1} // *********************************************************************// IPropertyGrid = interface(IPropertyControl) ['{6682B70F-59DB-4BF0-AB01-45B65B1BDED1}'] procedure Set_ColumnCount(Count: Integer); safecall; function Get_ColumnCount: Integer; safecall; procedure Set_RowCount(Count: Integer); safecall; function Get_RowCount: Integer; safecall; procedure Set_FixedColumnCount(Count: Integer); safecall; function Get_FixedColumnCount: Integer; safecall; procedure Set_FixedRowCount(Count: Integer); safecall; function Get_FixedRowCount: Integer; safecall; procedure Set_ColumnWidth(Index: Integer; Width: Integer); safecall; function Get_ColumnWidth(Index: Integer): Integer; safecall; procedure Set_RowHeight(Index: Integer; Height: Integer); safecall; function Get_RowHeight(Index: Integer): Integer; safecall; procedure Set_EnableEdit(NRow: Integer; NCol: Integer; PVal: WordBool); safecall; function Get_EnableEdit(NRow: Integer; NCol: Integer): WordBool; safecall; procedure Set_CellText(NRow: Integer; NCol: Integer; const Text: WideString); safecall; function Get_CellText(NRow: Integer; NCol: Integer): WideString; safecall; procedure Set_CellFormat(NRow: Integer; NCol: Integer; Format: Integer); safecall; function Get_CellFormat(NRow: Integer; NCol: Integer): Integer; safecall; procedure Set_Width(Width: Integer); safecall; function Get_Width: Integer; safecall; procedure Set_Height(Height: Integer); safecall; function Get_Height: Integer; safecall; procedure Set_ReadOnly(PVal: WordBool); safecall; function Get_ReadOnly: WordBool; safecall; procedure Set_AutoSizeColumns(PVal: WordBool); safecall; function Get_AutoSizeColumns: WordBool; safecall; procedure UpdateParam; safecall; property ColumnCount: Integer read Get_ColumnCount write Set_ColumnCount; property RowCount: Integer read Get_RowCount write Set_RowCount; property FixedColumnCount: Integer read Get_FixedColumnCount write Set_FixedColumnCount; property FixedRowCount: Integer read Get_FixedRowCount write Set_FixedRowCount; property ColumnWidth[Index: Integer]: Integer read Get_ColumnWidth write Set_ColumnWidth; property RowHeight[Index: Integer]: Integer read Get_RowHeight write Set_RowHeight; property EnableEdit[NRow: Integer; NCol: Integer]: WordBool read Get_EnableEdit write Set_EnableEdit; property CellText[NRow: Integer; NCol: Integer]: WideString read Get_CellText write Set_CellText; property CellFormat[NRow: Integer; NCol: Integer]: Integer read Get_CellFormat write Set_CellFormat; property Width: Integer read Get_Width write Set_Width; property Height: Integer read Get_Height write Set_Height; property ReadOnly: WordBool read Get_ReadOnly write Set_ReadOnly; property AutoSizeColumns: WordBool read Get_AutoSizeColumns write Set_AutoSizeColumns; end; // *********************************************************************// // DispIntf: IPropertyGridDisp // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {6682B70F-59DB-4BF0-AB01-45B65B1BDED1} // *********************************************************************// IPropertyGridDisp = dispinterface ['{6682B70F-59DB-4BF0-AB01-45B65B1BDED1}'] property ColumnCount: Integer dispid 101; property RowCount: Integer dispid 102; property FixedColumnCount: Integer dispid 103; property FixedRowCount: Integer dispid 104; property ColumnWidth[Index: Integer]: Integer dispid 105; property RowHeight[Index: Integer]: Integer dispid 106; property EnableEdit[NRow: Integer; NCol: Integer]: WordBool dispid 107; property CellText[NRow: Integer; NCol: Integer]: WideString dispid 108; property CellFormat[NRow: Integer; NCol: Integer]: Integer dispid 109; property Width: Integer dispid 110; property Height: Integer dispid 111; property ReadOnly: WordBool dispid 112; property AutoSizeColumns: WordBool dispid 113; procedure UpdateParam; dispid 114; property Visible: WordBool dispid 1; property Name: WideString dispid 2; property ControlType: ControlTypeEnum readonly dispid 3; property Id: Integer dispid 4; property Enable: WordBool dispid 5; property Value: OleVariant dispid 6; property NameVisibility: PropertyControlNameVisibility dispid 7; property Hint: WideString dispid 8; property Tips: WideString dispid 9; property Parent: IKompasAPIObject readonly dispid 1000; property Application: IApplication readonly dispid 1001; property Type_: KompasAPIObjectTypeEnum readonly dispid 1002; property Reference: Integer readonly dispid 1003; end; // *********************************************************************// // Interface: IPaintObject // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {4D14726D-0EC2-49CE-B02C-FEDAA6D65BBD} // *********************************************************************// IPaintObject = interface(IDispatch) ['{4D14726D-0EC2-49CE-B02C-FEDAA6D65BBD}'] function GetHWND: OLE_HANDLE; safecall; procedure GetTransformMatrix(out A11: Double; out A12: Double; out A13: Double; out A14: Double; out A21: Double; out A22: Double; out A23: Double; out A24: Double); safecall; function GetDIBForOutput: WideString; safecall; end; // *********************************************************************// // DispIntf: IPaintObjectDisp // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {4D14726D-0EC2-49CE-B02C-FEDAA6D65BBD} // *********************************************************************// IPaintObjectDisp = dispinterface ['{4D14726D-0EC2-49CE-B02C-FEDAA6D65BBD}'] function GetHWND: OLE_HANDLE; dispid 1; procedure GetTransformMatrix(out A11: Double; out A12: Double; out A13: Double; out A14: Double; out A21: Double; out A22: Double; out A23: Double; out A24: Double); dispid 2; function GetDIBForOutput: WideString; dispid 3; end; // *********************************************************************// // Interface: IGabaritObject // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {B6674824-CD9D-4220-B2CB-9F939A9C35C8} // *********************************************************************// IGabaritObject = interface(IDispatch) ['{B6674824-CD9D-4220-B2CB-9F939A9C35C8}'] function GetCurrentGabarit(NPage: Integer; out P1X: Double; out P1Y: Double; out P1Z: Double; out P2X: Double; out P2Y: Double; out P2Z: Double): WordBool; safecall; function AddGabarit(X1: Double; Y1: Double; Z1: Double; X2: Double; Y2: Double; Z2: Double): WordBool; safecall; function GetGabaritModifying: WordBool; safecall; end; // *********************************************************************// // DispIntf: IGabaritObjectDisp // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {B6674824-CD9D-4220-B2CB-9F939A9C35C8} // *********************************************************************// IGabaritObjectDisp = dispinterface ['{B6674824-CD9D-4220-B2CB-9F939A9C35C8}'] function GetCurrentGabarit(NPage: Integer; out P1X: Double; out P1Y: Double; out P1Z: Double; out P2X: Double; out P2Y: Double; out P2Z: Double): WordBool; dispid 1; function AddGabarit(X1: Double; Y1: Double; Z1: Double; X2: Double; Y2: Double; Z2: Double): WordBool; dispid 2; function GetGabaritModifying: WordBool; dispid 3; end; // *********************************************************************// // DispIntf: ksGLObject // Flags: (4096) Dispatchable // GUID: {B1C65023-B908-4CAD-9238-C5026520E62C} // *********************************************************************// ksGLObject = dispinterface ['{B1C65023-B908-4CAD-9238-C5026520E62C}'] function glBegin(Mode: Integer): WordBool; dispid 1; function glEnd: WordBool; dispid 2; function glEnable(Cap: Integer): WordBool; dispid 3; function glDisable(Cap: Integer): WordBool; dispid 4; function glColor3d(R: Double; G: Double; B: Double): WordBool; dispid 20; function glLineWidth(W: Double): WordBool; dispid 21; function glLineStipple(Factor: Integer; Pattern: Smallint): WordBool; dispid 22; function glPointSize(W: Double): WordBool; dispid 23; function glPolygonMode(Face: Integer; Mode: Integer): WordBool; dispid 24; function glVertex2d(X: Double; Y: Double): WordBool; dispid 40; function glVertex2dv(var PData: Double; CountDouble: Integer): WordBool; dispid 41; function glVertex3d(X: Double; Y: Double; Z: Double): WordBool; dispid 42; function glVertex3dv(var PData: Double; CountDouble: Integer): WordBool; dispid 43; function glVertex4d(X: Double; Y: Double; Z: Double; W: Double): WordBool; dispid 44; function glVertex4dv(var PData: Double; CountDouble: Integer): WordBool; dispid 45; end; // *********************************************************************// // Interface: IPropertyTextButton // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {3CDFE85F-643D-4008-AE32-379C0EB3FB7F} // *********************************************************************// IPropertyTextButton = interface(IPropertyControl) ['{3CDFE85F-643D-4008-AE32-379C0EB3FB7F}'] end; // *********************************************************************// // DispIntf: IPropertyTextButtonDisp // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {3CDFE85F-643D-4008-AE32-379C0EB3FB7F} // *********************************************************************// IPropertyTextButtonDisp = dispinterface ['{3CDFE85F-643D-4008-AE32-379C0EB3FB7F}'] property Visible: WordBool dispid 1; property Name: WideString dispid 2; property ControlType: ControlTypeEnum readonly dispid 3; property Id: Integer dispid 4; property Enable: WordBool dispid 5; property Value: OleVariant dispid 6; property NameVisibility: PropertyControlNameVisibility dispid 7; property Hint: WideString dispid 8; property Tips: WideString dispid 9; property Parent: IKompasAPIObject readonly dispid 1000; property Application: IApplication readonly dispid 1001; property Type_: KompasAPIObjectTypeEnum readonly dispid 1002; property Reference: Integer readonly dispid 1003; end; // *********************************************************************// // Interface: IPropertySpinEdit // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {F214A46D-2BA9-40AD-A32D-E696EF9C895A} // *********************************************************************// IPropertySpinEdit = interface(IPropertyControl) ['{F214A46D-2BA9-40AD-A32D-E696EF9C895A}'] function Get_MinValue: OleVariant; safecall; function Get_MaxValue: OleVariant; safecall; function SetValueRange(MinVal: OleVariant; MaxVal: OleVariant): WordBool; safecall; procedure Set_WithCheck(PVal: WordBool); safecall; function Get_WithCheck: WordBool; safecall; procedure Set_CheckState(PVal: CheckStateEnum); safecall; function Get_CheckState: CheckStateEnum; safecall; procedure Set_ReadOnly(PVal: WordBool); safecall; function Get_ReadOnly: WordBool; safecall; procedure Set_Width(PVal: Integer); safecall; function Get_Width: Integer; safecall; property MinValue: OleVariant read Get_MinValue; property MaxValue: OleVariant read Get_MaxValue; property WithCheck: WordBool read Get_WithCheck write Set_WithCheck; property CheckState: CheckStateEnum read Get_CheckState write Set_CheckState; property ReadOnly: WordBool read Get_ReadOnly write Set_ReadOnly; property Width: Integer read Get_Width write Set_Width; end; // *********************************************************************// // DispIntf: IPropertySpinEditDisp // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {F214A46D-2BA9-40AD-A32D-E696EF9C895A} // *********************************************************************// IPropertySpinEditDisp = dispinterface ['{F214A46D-2BA9-40AD-A32D-E696EF9C895A}'] property MinValue: OleVariant readonly dispid 101; property MaxValue: OleVariant readonly dispid 102; function SetValueRange(MinVal: OleVariant; MaxVal: OleVariant): WordBool; dispid 103; property WithCheck: WordBool dispid 104; property CheckState: CheckStateEnum dispid 105; property ReadOnly: WordBool dispid 106; property Width: Integer dispid 107; property Visible: WordBool dispid 1; property Name: WideString dispid 2; property ControlType: ControlTypeEnum readonly dispid 3; property Id: Integer dispid 4; property Enable: WordBool dispid 5; property Value: OleVariant dispid 6; property NameVisibility: PropertyControlNameVisibility dispid 7; property Hint: WideString dispid 8; property Tips: WideString dispid 9; property Parent: IKompasAPIObject readonly dispid 1000; property Application: IApplication readonly dispid 1001; property Type_: KompasAPIObjectTypeEnum readonly dispid 1002; property Reference: Integer readonly dispid 1003; end; // *********************************************************************// // Interface: IAssociationView // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {0825F23C-0A73-48DE-BEAB-DA2FF39962C3} // *********************************************************************// IAssociationView = interface(IView) ['{0825F23C-0A73-48DE-BEAB-DA2FF39962C3}'] end; // *********************************************************************// // DispIntf: IAssociationViewDisp // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {0825F23C-0A73-48DE-BEAB-DA2FF39962C3} // *********************************************************************// IAssociationViewDisp = dispinterface ['{0825F23C-0A73-48DE-BEAB-DA2FF39962C3}'] property Number: Integer dispid 1; property Name: WideString dispid 2; property Background: WordBool dispid 3; property Visible: WordBool dispid 4; property Current: WordBool dispid 5; property Color: Integer dispid 6; property Comment: WideString dispid 7; property ObjectCount: Integer readonly dispid 8; property X: Double dispid 9; property Y: Double dispid 10; property Scale: Double dispid 11; property Angle: Double dispid 12; property ViewType: LtViewType readonly dispid 13; property Layers: ILayers readonly dispid 14; property DrawingObjectType: DrawingObjectTypeEnum readonly dispid 3000; property LayerNumber: Integer dispid 3001; property Temp: WordBool readonly dispid 3002; property Valid: WordBool readonly dispid 3003; function Update: WordBool; dispid 3004; function Delete: WordBool; dispid 3005; property Parent: IKompasAPIObject readonly dispid 1000; property Application: IApplication readonly dispid 1001; property Type_: KompasAPIObjectTypeEnum readonly dispid 1002; property Reference: Integer readonly dispid 1003; end; // *********************************************************************// // Interface: IDocument2DSettings // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {B09A64BF-7AA6-4BF6-B8E8-AA8E8EE6E9D6} // *********************************************************************// IDocument2DSettings = interface(IDocumentSettings) ['{B09A64BF-7AA6-4BF6-B8E8-AA8E8EE6E9D6}'] procedure Set_LayersGroupWay(PVal: LayersGroupWayEnum); safecall; function Get_LayersGroupWay: LayersGroupWayEnum; safecall; procedure Set_CompositionInherit(PVal: WordBool); safecall; function Get_CompositionInherit: WordBool; safecall; property LayersGroupWay: LayersGroupWayEnum read Get_LayersGroupWay write Set_LayersGroupWay; property CompositionInherit: WordBool read Get_CompositionInherit write Set_CompositionInherit; end; // *********************************************************************// // DispIntf: IDocument2DSettingsDisp // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {B09A64BF-7AA6-4BF6-B8E8-AA8E8EE6E9D6} // *********************************************************************// IDocument2DSettingsDisp = dispinterface ['{B09A64BF-7AA6-4BF6-B8E8-AA8E8EE6E9D6}'] property LayersGroupWay: LayersGroupWayEnum dispid 101; property CompositionInherit: WordBool dispid 102; property Parent: IKompasAPIObject readonly dispid 1000; property Application: IApplication readonly dispid 1001; property Type_: KompasAPIObjectTypeEnum readonly dispid 1002; property Reference: Integer readonly dispid 1003; end; // *********************************************************************// // Interface: IDrawingDocumentSettings // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {0DC39FC2-4FB1-489E-A76E-E47413199FA3} // *********************************************************************// IDrawingDocumentSettings = interface(IDocument2DSettings) ['{0DC39FC2-4FB1-489E-A76E-E47413199FA3}'] end; // *********************************************************************// // DispIntf: IDrawingDocumentSettingsDisp // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {0DC39FC2-4FB1-489E-A76E-E47413199FA3} // *********************************************************************// IDrawingDocumentSettingsDisp = dispinterface ['{0DC39FC2-4FB1-489E-A76E-E47413199FA3}'] property LayersGroupWay: LayersGroupWayEnum dispid 101; property CompositionInherit: WordBool dispid 102; property Parent: IKompasAPIObject readonly dispid 1000; property Application: IApplication readonly dispid 1001; property Type_: KompasAPIObjectTypeEnum readonly dispid 1002; property Reference: Integer readonly dispid 1003; end; // *********************************************************************// // Interface: IFragmentDocumentSettings // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {A33D05CF-EFFF-4BBE-9BE0-15D283425828} // *********************************************************************// IFragmentDocumentSettings = interface(IDocument2DSettings) ['{A33D05CF-EFFF-4BBE-9BE0-15D283425828}'] end; // *********************************************************************// // DispIntf: IFragmentDocumentSettingsDisp // Flags: (4544) Dual NonExtensible OleAutomation Dispatchable // GUID: {A33D05CF-EFFF-4BBE-9BE0-15D283425828} // *********************************************************************// IFragmentDocumentSettingsDisp = dispinterface ['{A33D05CF-EFFF-4BBE-9BE0-15D283425828}'] property LayersGroupWay: LayersGroupWayEnum dispid 101; property CompositionInherit: WordBool dispid 102; property Parent: IKompasAPIObject readonly dispid 1000; property Application: IApplication readonly dispid 1001; property Type_: KompasAPIObjectTypeEnum readonly dispid 1002; property Reference: Integer readonly dispid 1003; end; // *********************************************************************// // DispIntf: ksPropertyManagerNotify // Flags: (4096) Dispatchable // GUID: {5A89C538-E0DD-4C21-B3D1-3BF65EEB8C3E} // *********************************************************************// ksPropertyManagerNotify = dispinterface ['{5A89C538-E0DD-4C21-B3D1-3BF65EEB8C3E}'] function ButtonClick(ButtonID: Integer): WordBool; dispid 1; function ChangeControlValue(const Control: IPropertyControl): WordBool; dispid 2; function ControlCommand(const Control: IPropertyControl; ButtonID: Integer): WordBool; dispid 3; function ButtonUpdate(ButtonID: Integer; var Check: Integer; var Enable: WordBool): WordBool; dispid 4; function ProcessActivate: WordBool; dispid 5; function ProcessDeactivate: WordBool; dispid 6; function CommandHelp(Id: Integer): WordBool; dispid 7; end; // *********************************************************************// // DispIntf: ksPropertyUserControlNotify // Flags: (4096) Dispatchable // GUID: {5A31BB02-026C-4419-A0FF-A93CF58DCA99} // *********************************************************************// ksPropertyUserControlNotify = dispinterface ['{5A31BB02-026C-4419-A0FF-A93CF58DCA99}'] function CreateOCX(const IOcx: IDispatch): WordBool; dispid 1; function DestroyOCX: WordBool; dispid 2; end; // *********************************************************************// // DispIntf: ksDocumentFrameNotify // Flags: (4096) Dispatchable // GUID: {6ECBB531-5609-4364-AC92-7A6A21D23313} // *********************************************************************// ksDocumentFrameNotify = dispinterface ['{6ECBB531-5609-4364-AC92-7A6A21D23313}'] function BeginPaint(const PaintObj: IPaintObject): WordBool; dispid 1; function ClosePaint(const PaintObj: IPaintObject): WordBool; dispid 2; function MouseDown(NButton: Smallint; NShiftState: Smallint; X: Integer; Y: Integer): WordBool; dispid 3; function MouseUp(NButton: Smallint; NShiftState: Smallint; X: Integer; Y: Integer): WordBool; dispid 4; function MouseDblClick(NButton: Smallint; NShiftState: Smallint; X: Integer; Y: Integer): WordBool; dispid 5; function BeginPaintGL(const GlObj: ksGLObject; DrawMode: Integer): WordBool; dispid 6; function ClosePaintGL(const GlObj: ksGLObject; DrawMode: Integer): WordBool; dispid 7; function AddGabarit(const GabObj: IGabaritObject): WordBool; dispid 8; function Activate: WordBool; dispid 9; function Deactivate: WordBool; dispid 10; function CloseFrame: WordBool; dispid 11; function MouseMove(NShiftState: Smallint; X: Integer; Y: Integer): WordBool; dispid 12; end; // *********************************************************************// // DispIntf: ksDrawingObjectNotify // Flags: (4096) Dispatchable // GUID: {E335A73F-DF27-4D33-8CBD-E928F797FB94} // *********************************************************************// ksDrawingObjectNotify = dispinterface ['{E335A73F-DF27-4D33-8CBD-E928F797FB94}'] function ChangeActive(const Obj: IDrawingObject): WordBool; dispid 1; function BeginDelete(const ObjRef: IDrawingObject): WordBool; dispid 2; function Delete(const ObjRef: IDrawingObject): WordBool; dispid 3; function BeginMove(const ObjRef: IDrawingObject): WordBool; dispid 4; function Move(const ObjRef: IDrawingObject): WordBool; dispid 5; function BeginRotate(const ObjRef: IDrawingObject): WordBool; dispid 6; function Rotate(const ObjRef: IDrawingObject): WordBool; dispid 7; function BeginScale(const ObjRef: IDrawingObject): WordBool; dispid 8; function Scale(const ObjRef: IDrawingObject): WordBool; dispid 9; function BeginTransform(const ObjRef: IDrawingObject): WordBool; dispid 10; function Transform(const ObjRef: IDrawingObject): WordBool; dispid 11; function BeginCopy(const ObjRef: IDrawingObject): WordBool; dispid 12; function Copy(const ObjRef: IDrawingObject): WordBool; dispid 13; function BeginSymmetry(const ObjRef: IDrawingObject): WordBool; dispid 14; function Symmetry(const ObjRef: IDrawingObject): WordBool; dispid 15; function BeginProcess(PType: Integer; const ObjRef: IDrawingObject): WordBool; dispid 16; function EndProcess(PType: Integer): WordBool; dispid 17; function CreateObject(const ObjRef: IDrawingObject): WordBool; dispid 18; function UpdateObject(const ObjRef: IDrawingObject): WordBool; dispid 19; end; // *********************************************************************// // DispIntf: ksViewsAndLayersManagerNotify // Flags: (4096) Dispatchable // GUID: {FC04C62E-AB0F-4614-B3D9-0EA8671CEB08} // *********************************************************************// ksViewsAndLayersManagerNotify = dispinterface ['{FC04C62E-AB0F-4614-B3D9-0EA8671CEB08}'] function BeginEdit: WordBool; dispid 1; function EndEdit(IsOk: WordBool): WordBool; dispid 2; end; // *********************************************************************// // The Class CoKompasDocument provides a Create and CreateRemote method to // create instances of the default interface IKompasDocument exposed by // the CoClass KompasDocument. The functions are intended to be used by // clients wishing to automate the CoClass objects exposed by the // server of this typelibrary. // *********************************************************************// CoKompasDocument = class class function Create: IKompasDocument; class function CreateRemote(const MachineName: string): IKompasDocument; end; // *********************************************************************// // The Class Co_Application provides a Create and CreateRemote method to // create instances of the default interface IApplication exposed by // the CoClass _Application. The functions are intended to be used by // clients wishing to automate the CoClass objects exposed by the // server of this typelibrary. // *********************************************************************// Co_Application = class class function Create: IApplication; class function CreateRemote(const MachineName: string): IApplication; end; // *********************************************************************// // The Class CoDocuments provides a Create and CreateRemote method to // create instances of the default interface IDocuments exposed by // the CoClass Documents. The functions are intended to be used by // clients wishing to automate the CoClass objects exposed by the // server of this typelibrary. // *********************************************************************// CoDocuments = class class function Create: IDocuments; class function CreateRemote(const MachineName: string): IDocuments; end; // *********************************************************************// // The Class CoDocumentFrame provides a Create and CreateRemote method to // create instances of the default interface IDocumentFrame exposed by // the CoClass DocumentFrame. The functions are intended to be used by // clients wishing to automate the CoClass objects exposed by the // server of this typelibrary. // *********************************************************************// CoDocumentFrame = class class function Create: IDocumentFrame; class function CreateRemote(const MachineName: string): IDocumentFrame; end; // *********************************************************************// // The Class CoDocumentFrames provides a Create and CreateRemote method to // create instances of the default interface IDocumentFrames exposed by // the CoClass DocumentFrames. The functions are intended to be used by // clients wishing to automate the CoClass objects exposed by the // server of this typelibrary. // *********************************************************************// CoDocumentFrames = class class function Create: IDocumentFrames; class function CreateRemote(const MachineName: string): IDocumentFrames; end; // *********************************************************************// // The Class CoProcessParam provides a Create and CreateRemote method to // create instances of the default interface IProcessParam exposed by // the CoClass ProcessParam. The functions are intended to be used by // clients wishing to automate the CoClass objects exposed by the // server of this typelibrary. // *********************************************************************// CoProcessParam = class class function Create: IProcessParam; class function CreateRemote(const MachineName: string): IProcessParam; end; // *********************************************************************// // The Class CoPropertyControls provides a Create and CreateRemote method to // create instances of the default interface IPropertyControls exposed by // the CoClass PropertyControls. The functions are intended to be used by // clients wishing to automate the CoClass objects exposed by the // server of this typelibrary. // *********************************************************************// CoPropertyControls = class class function Create: IPropertyControls; class function CreateRemote(const MachineName: string): IPropertyControls; end; // *********************************************************************// // The Class CoPropertyTab provides a Create and CreateRemote method to // create instances of the default interface IPropertyTab exposed by // the CoClass PropertyTab. The functions are intended to be used by // clients wishing to automate the CoClass objects exposed by the // server of this typelibrary. // *********************************************************************// CoPropertyTab = class class function Create: IPropertyTab; class function CreateRemote(const MachineName: string): IPropertyTab; end; // *********************************************************************// // The Class CoPropertyTabs provides a Create and CreateRemote method to // create instances of the default interface IPropertyTabs exposed by // the CoClass PropertyTabs. The functions are intended to be used by // clients wishing to automate the CoClass objects exposed by the // server of this typelibrary. // *********************************************************************// CoPropertyTabs = class class function Create: IPropertyTabs; class function CreateRemote(const MachineName: string): IPropertyTabs; end; // *********************************************************************// // The Class CoPropertyEdit provides a Create and CreateRemote method to // create instances of the default interface IPropertyEdit exposed by // the CoClass PropertyEdit. The functions are intended to be used by // clients wishing to automate the CoClass objects exposed by the // server of this typelibrary. // *********************************************************************// CoPropertyEdit = class class function Create: IPropertyEdit; class function CreateRemote(const MachineName: string): IPropertyEdit; end; // *********************************************************************// // The Class CoPropertySeparator provides a Create and CreateRemote method to // create instances of the default interface IPropertySeparator exposed by // the CoClass PropertySeparator. The functions are intended to be used by // clients wishing to automate the CoClass objects exposed by the // server of this typelibrary. // *********************************************************************// CoPropertySeparator = class class function Create: IPropertySeparator; class function CreateRemote(const MachineName: string): IPropertySeparator; end; // *********************************************************************// // The Class CoPropertyList provides a Create and CreateRemote method to // create instances of the default interface IPropertyList exposed by // the CoClass PropertyList. The functions are intended to be used by // clients wishing to automate the CoClass objects exposed by the // server of this typelibrary. // *********************************************************************// CoPropertyList = class class function Create: IPropertyList; class function CreateRemote(const MachineName: string): IPropertyList; end; // *********************************************************************// // The Class CoPropertyCheckBox provides a Create and CreateRemote method to // create instances of the default interface IPropertyCheckBox exposed by // the CoClass PropertyCheckBox. The functions are intended to be used by // clients wishing to automate the CoClass objects exposed by the // server of this typelibrary. // *********************************************************************// CoPropertyCheckBox = class class function Create: IPropertyCheckBox; class function CreateRemote(const MachineName: string): IPropertyCheckBox; end; // *********************************************************************// // The Class CoPropertyMultiButton provides a Create and CreateRemote method to // create instances of the default interface IPropertyMultiButton exposed by // the CoClass PropertyMultiButton. The functions are intended to be used by // clients wishing to automate the CoClass objects exposed by the // server of this typelibrary. // *********************************************************************// CoPropertyMultiButton = class class function Create: IPropertyMultiButton; class function CreateRemote(const MachineName: string): IPropertyMultiButton; end; // *********************************************************************// // The Class CoPropertySlideBox provides a Create and CreateRemote method to // create instances of the default interface IPropertySlideBox exposed by // the CoClass PropertySlideBox. The functions are intended to be used by // clients wishing to automate the CoClass objects exposed by the // server of this typelibrary. // *********************************************************************// CoPropertySlideBox = class class function Create: IPropertySlideBox; class function CreateRemote(const MachineName: string): IPropertySlideBox; end; // *********************************************************************// // The Class CoPropertyUserControl provides a Create and CreateRemote method to // create instances of the default interface IPropertyUserControl exposed by // the CoClass PropertyUserControl. The functions are intended to be used by // clients wishing to automate the CoClass objects exposed by the // server of this typelibrary. // *********************************************************************// CoPropertyUserControl = class class function Create: IPropertyUserControl; class function CreateRemote(const MachineName: string): IPropertyUserControl; end; // *********************************************************************// // The Class CoPropertyGrid provides a Create and CreateRemote method to // create instances of the default interface IPropertyGrid exposed by // the CoClass PropertyGrid. The functions are intended to be used by // clients wishing to automate the CoClass objects exposed by the // server of this typelibrary. // *********************************************************************// CoPropertyGrid = class class function Create: IPropertyGrid; class function CreateRemote(const MachineName: string): IPropertyGrid; end; // *********************************************************************// // The Class CoPropertyManager provides a Create and CreateRemote method to // create instances of the default interface IPropertyManager exposed by // the CoClass PropertyManager. The functions are intended to be used by // clients wishing to automate the CoClass objects exposed by the // server of this typelibrary. // *********************************************************************// CoPropertyManager = class class function Create: IPropertyManager; class function CreateRemote(const MachineName: string): IPropertyManager; end; // *********************************************************************// // The Class CoDrawingDocument provides a Create and CreateRemote method to // create instances of the default interface IDrawingDocument exposed by // the CoClass DrawingDocument. The functions are intended to be used by // clients wishing to automate the CoClass objects exposed by the // server of this typelibrary. // *********************************************************************// CoDrawingDocument = class class function Create: IDrawingDocument; class function CreateRemote(const MachineName: string): IDrawingDocument; end; // *********************************************************************// // The Class CoFragmentDocument provides a Create and CreateRemote method to // create instances of the default interface IFragmentDocument exposed by // the CoClass FragmentDocument. The functions are intended to be used by // clients wishing to automate the CoClass objects exposed by the // server of this typelibrary. // *********************************************************************// CoFragmentDocument = class class function Create: IFragmentDocument; class function CreateRemote(const MachineName: string): IFragmentDocument; end; // *********************************************************************// // The Class CoSpecificationDocument provides a Create and CreateRemote method to // create instances of the default interface ISpecificationDocument exposed by // the CoClass SpecificationDocument. The functions are intended to be used by // clients wishing to automate the CoClass objects exposed by the // server of this typelibrary. // *********************************************************************// CoSpecificationDocument = class class function Create: ISpecificationDocument; class function CreateRemote(const MachineName: string): ISpecificationDocument; end; // *********************************************************************// // The Class CoTextDocument provides a Create and CreateRemote method to // create instances of the default interface ITextDocument exposed by // the CoClass TextDocument. The functions are intended to be used by // clients wishing to automate the CoClass objects exposed by the // server of this typelibrary. // *********************************************************************// CoTextDocument = class class function Create: ITextDocument; class function CreateRemote(const MachineName: string): ITextDocument; end; // *********************************************************************// // The Class CoPartDocument provides a Create and CreateRemote method to // create instances of the default interface IPartDocument exposed by // the CoClass PartDocument. The functions are intended to be used by // clients wishing to automate the CoClass objects exposed by the // server of this typelibrary. // *********************************************************************// CoPartDocument = class class function Create: IPartDocument; class function CreateRemote(const MachineName: string): IPartDocument; end; // *********************************************************************// // The Class CoAssemblyDocument provides a Create and CreateRemote method to // create instances of the default interface IAssemblyDocument exposed by // the CoClass AssemblyDocument. The functions are intended to be used by // clients wishing to automate the CoClass objects exposed by the // server of this typelibrary. // *********************************************************************// CoAssemblyDocument = class class function Create: IAssemblyDocument; class function CreateRemote(const MachineName: string): IAssemblyDocument; end; // *********************************************************************// // The Class CoPropertyTextButton provides a Create and CreateRemote method to // create instances of the default interface IPropertyTextButton exposed by // the CoClass PropertyTextButton. The functions are intended to be used by // clients wishing to automate the CoClass objects exposed by the // server of this typelibrary. // *********************************************************************// CoPropertyTextButton = class class function Create: IPropertyTextButton; class function CreateRemote(const MachineName: string): IPropertyTextButton; end; // *********************************************************************// // The Class CoPropertySpinEdit provides a Create and CreateRemote method to // create instances of the default interface IPropertySpinEdit exposed by // the CoClass PropertySpinEdit. The functions are intended to be used by // clients wishing to automate the CoClass objects exposed by the // server of this typelibrary. // *********************************************************************// CoPropertySpinEdit = class class function Create: IPropertySpinEdit; class function CreateRemote(const MachineName: string): IPropertySpinEdit; end; // *********************************************************************// // The Class CoViewsAndLayersManager provides a Create and CreateRemote method to // create instances of the default interface IViewsAndLayersManager exposed by // the CoClass ViewsAndLayersManager. The functions are intended to be used by // clients wishing to automate the CoClass objects exposed by the // server of this typelibrary. // *********************************************************************// CoViewsAndLayersManager = class class function Create: IViewsAndLayersManager; class function CreateRemote(const MachineName: string): IViewsAndLayersManager; end; // *********************************************************************// // The Class CoDrawingObject provides a Create and CreateRemote method to // create instances of the default interface IDrawingObject exposed by // the CoClass DrawingObject. The functions are intended to be used by // clients wishing to automate the CoClass objects exposed by the // server of this typelibrary. // *********************************************************************// CoDrawingObject = class class function Create: IDrawingObject; class function CreateRemote(const MachineName: string): IDrawingObject; end; // *********************************************************************// // The Class CoDrawingObjects provides a Create and CreateRemote method to // create instances of the default interface IDrawingObjects exposed by // the CoClass DrawingObjects. The functions are intended to be used by // clients wishing to automate the CoClass objects exposed by the // server of this typelibrary. // *********************************************************************// CoDrawingObjects = class class function Create: IDrawingObjects; class function CreateRemote(const MachineName: string): IDrawingObjects; end; // *********************************************************************// // The Class CoViews provides a Create and CreateRemote method to // create instances of the default interface IViews exposed by // the CoClass Views. The functions are intended to be used by // clients wishing to automate the CoClass objects exposed by the // server of this typelibrary. // *********************************************************************// CoViews = class class function Create: IViews; class function CreateRemote(const MachineName: string): IViews; end; // *********************************************************************// // The Class CoView provides a Create and CreateRemote method to // create instances of the default interface IView exposed by // the CoClass View. The functions are intended to be used by // clients wishing to automate the CoClass objects exposed by the // server of this typelibrary. // *********************************************************************// CoView = class class function Create: IView; class function CreateRemote(const MachineName: string): IView; end; // *********************************************************************// // The Class CoAssociationView provides a Create and CreateRemote method to // create instances of the default interface IAssociationView exposed by // the CoClass AssociationView. The functions are intended to be used by // clients wishing to automate the CoClass objects exposed by the // server of this typelibrary. // *********************************************************************// CoAssociationView = class class function Create: IAssociationView; class function CreateRemote(const MachineName: string): IAssociationView; end; // *********************************************************************// // The Class CoLayerGroups provides a Create and CreateRemote method to // create instances of the default interface ILayerGroups exposed by // the CoClass LayerGroups. The functions are intended to be used by // clients wishing to automate the CoClass objects exposed by the // server of this typelibrary. // *********************************************************************// CoLayerGroups = class class function Create: ILayerGroups; class function CreateRemote(const MachineName: string): ILayerGroups; end; // *********************************************************************// // The Class CoLayerGroup provides a Create and CreateRemote method to // create instances of the default interface ILayerGroup exposed by // the CoClass LayerGroup. The functions are intended to be used by // clients wishing to automate the CoClass objects exposed by the // server of this typelibrary. // *********************************************************************// CoLayerGroup = class class function Create: ILayerGroup; class function CreateRemote(const MachineName: string): ILayerGroup; end; // *********************************************************************// // The Class CoLayers provides a Create and CreateRemote method to // create instances of the default interface ILayers exposed by // the CoClass Layers. The functions are intended to be used by // clients wishing to automate the CoClass objects exposed by the // server of this typelibrary. // *********************************************************************// CoLayers = class class function Create: ILayers; class function CreateRemote(const MachineName: string): ILayers; end; // *********************************************************************// // The Class CoLayer provides a Create and CreateRemote method to // create instances of the default interface ILayer exposed by // the CoClass Layer. The functions are intended to be used by // clients wishing to automate the CoClass objects exposed by the // server of this typelibrary. // *********************************************************************// CoLayer = class class function Create: ILayer; class function CreateRemote(const MachineName: string): ILayer; end; // *********************************************************************// // The Class CoLayerFilterCondition provides a Create and CreateRemote method to // create instances of the default interface ILayerFilterCondition exposed by // the CoClass LayerFilterCondition. The functions are intended to be used by // clients wishing to automate the CoClass objects exposed by the // server of this typelibrary. // *********************************************************************// CoLayerFilterCondition = class class function Create: ILayerFilterCondition; class function CreateRemote(const MachineName: string): ILayerFilterCondition; end; // *********************************************************************// // The Class CoLayerFilterConditions provides a Create and CreateRemote method to // create instances of the default interface ILayerFilterConditions exposed by // the CoClass LayerFilterConditions. The functions are intended to be used by // clients wishing to automate the CoClass objects exposed by the // server of this typelibrary. // *********************************************************************// CoLayerFilterConditions = class class function Create: ILayerFilterConditions; class function CreateRemote(const MachineName: string): ILayerFilterConditions; end; // *********************************************************************// // The Class CoDocumentSettings provides a Create and CreateRemote method to // create instances of the default interface IDocumentSettings exposed by // the CoClass DocumentSettings. The functions are intended to be used by // clients wishing to automate the CoClass objects exposed by the // server of this typelibrary. // *********************************************************************// CoDocumentSettings = class class function Create: IDocumentSettings; class function CreateRemote(const MachineName: string): IDocumentSettings; end; // *********************************************************************// // The Class CoDocument2DSettings provides a Create and CreateRemote method to // create instances of the default interface IDocument2DSettings exposed by // the CoClass Document2DSettings. The functions are intended to be used by // clients wishing to automate the CoClass objects exposed by the // server of this typelibrary. // *********************************************************************// CoDocument2DSettings = class class function Create: IDocument2DSettings; class function CreateRemote(const MachineName: string): IDocument2DSettings; end; // *********************************************************************// // The Class CoDrawingDocumentSettings provides a Create and CreateRemote method to // create instances of the default interface IDrawingDocumentSettings exposed by // the CoClass DrawingDocumentSettings. The functions are intended to be used by // clients wishing to automate the CoClass objects exposed by the // server of this typelibrary. // *********************************************************************// CoDrawingDocumentSettings = class class function Create: IDrawingDocumentSettings; class function CreateRemote(const MachineName: string): IDrawingDocumentSettings; end; // *********************************************************************// // The Class CoFragmentDocumentSettings provides a Create and CreateRemote method to // create instances of the default interface IFragmentDocumentSettings exposed by // the CoClass FragmentDocumentSettings. The functions are intended to be used by // clients wishing to automate the CoClass objects exposed by the // server of this typelibrary. // *********************************************************************// CoFragmentDocumentSettings = class class function Create: IFragmentDocumentSettings; class function CreateRemote(const MachineName: string): IFragmentDocumentSettings; end; implementation uses ComObj; class function CoKompasDocument.Create: IKompasDocument; begin Result := CreateComObject(CLASS_KompasDocument) as IKompasDocument; end; class function CoKompasDocument.CreateRemote(const MachineName: string): IKompasDocument; begin Result := CreateRemoteComObject(MachineName, CLASS_KompasDocument) as IKompasDocument; end; class function Co_Application.Create: IApplication; begin Result := CreateComObject(CLASS__Application) as IApplication; end; class function Co_Application.CreateRemote(const MachineName: string): IApplication; begin Result := CreateRemoteComObject(MachineName, CLASS__Application) as IApplication; end; class function CoDocuments.Create: IDocuments; begin Result := CreateComObject(CLASS_Documents) as IDocuments; end; class function CoDocuments.CreateRemote(const MachineName: string): IDocuments; begin Result := CreateRemoteComObject(MachineName, CLASS_Documents) as IDocuments; end; class function CoDocumentFrame.Create: IDocumentFrame; begin Result := CreateComObject(CLASS_DocumentFrame) as IDocumentFrame; end; class function CoDocumentFrame.CreateRemote(const MachineName: string): IDocumentFrame; begin Result := CreateRemoteComObject(MachineName, CLASS_DocumentFrame) as IDocumentFrame; end; class function CoDocumentFrames.Create: IDocumentFrames; begin Result := CreateComObject(CLASS_DocumentFrames) as IDocumentFrames; end; class function CoDocumentFrames.CreateRemote(const MachineName: string): IDocumentFrames; begin Result := CreateRemoteComObject(MachineName, CLASS_DocumentFrames) as IDocumentFrames; end; class function CoProcessParam.Create: IProcessParam; begin Result := CreateComObject(CLASS_ProcessParam) as IProcessParam; end; class function CoProcessParam.CreateRemote(const MachineName: string): IProcessParam; begin Result := CreateRemoteComObject(MachineName, CLASS_ProcessParam) as IProcessParam; end; class function CoPropertyControls.Create: IPropertyControls; begin Result := CreateComObject(CLASS_PropertyControls) as IPropertyControls; end; class function CoPropertyControls.CreateRemote(const MachineName: string): IPropertyControls; begin Result := CreateRemoteComObject(MachineName, CLASS_PropertyControls) as IPropertyControls; end; class function CoPropertyTab.Create: IPropertyTab; begin Result := CreateComObject(CLASS_PropertyTab) as IPropertyTab; end; class function CoPropertyTab.CreateRemote(const MachineName: string): IPropertyTab; begin Result := CreateRemoteComObject(MachineName, CLASS_PropertyTab) as IPropertyTab; end; class function CoPropertyTabs.Create: IPropertyTabs; begin Result := CreateComObject(CLASS_PropertyTabs) as IPropertyTabs; end; class function CoPropertyTabs.CreateRemote(const MachineName: string): IPropertyTabs; begin Result := CreateRemoteComObject(MachineName, CLASS_PropertyTabs) as IPropertyTabs; end; class function CoPropertyEdit.Create: IPropertyEdit; begin Result := CreateComObject(CLASS_PropertyEdit) as IPropertyEdit; end; class function CoPropertyEdit.CreateRemote(const MachineName: string): IPropertyEdit; begin Result := CreateRemoteComObject(MachineName, CLASS_PropertyEdit) as IPropertyEdit; end; class function CoPropertySeparator.Create: IPropertySeparator; begin Result := CreateComObject(CLASS_PropertySeparator) as IPropertySeparator; end; class function CoPropertySeparator.CreateRemote(const MachineName: string): IPropertySeparator; begin Result := CreateRemoteComObject(MachineName, CLASS_PropertySeparator) as IPropertySeparator; end; class function CoPropertyList.Create: IPropertyList; begin Result := CreateComObject(CLASS_PropertyList) as IPropertyList; end; class function CoPropertyList.CreateRemote(const MachineName: string): IPropertyList; begin Result := CreateRemoteComObject(MachineName, CLASS_PropertyList) as IPropertyList; end; class function CoPropertyCheckBox.Create: IPropertyCheckBox; begin Result := CreateComObject(CLASS_PropertyCheckBox) as IPropertyCheckBox; end; class function CoPropertyCheckBox.CreateRemote(const MachineName: string): IPropertyCheckBox; begin Result := CreateRemoteComObject(MachineName, CLASS_PropertyCheckBox) as IPropertyCheckBox; end; class function CoPropertyMultiButton.Create: IPropertyMultiButton; begin Result := CreateComObject(CLASS_PropertyMultiButton) as IPropertyMultiButton; end; class function CoPropertyMultiButton.CreateRemote(const MachineName: string): IPropertyMultiButton; begin Result := CreateRemoteComObject(MachineName, CLASS_PropertyMultiButton) as IPropertyMultiButton; end; class function CoPropertySlideBox.Create: IPropertySlideBox; begin Result := CreateComObject(CLASS_PropertySlideBox) as IPropertySlideBox; end; class function CoPropertySlideBox.CreateRemote(const MachineName: string): IPropertySlideBox; begin Result := CreateRemoteComObject(MachineName, CLASS_PropertySlideBox) as IPropertySlideBox; end; class function CoPropertyUserControl.Create: IPropertyUserControl; begin Result := CreateComObject(CLASS_PropertyUserControl) as IPropertyUserControl; end; class function CoPropertyUserControl.CreateRemote(const MachineName: string): IPropertyUserControl; begin Result := CreateRemoteComObject(MachineName, CLASS_PropertyUserControl) as IPropertyUserControl; end; class function CoPropertyGrid.Create: IPropertyGrid; begin Result := CreateComObject(CLASS_PropertyGrid) as IPropertyGrid; end; class function CoPropertyGrid.CreateRemote(const MachineName: string): IPropertyGrid; begin Result := CreateRemoteComObject(MachineName, CLASS_PropertyGrid) as IPropertyGrid; end; class function CoPropertyManager.Create: IPropertyManager; begin Result := CreateComObject(CLASS_PropertyManager) as IPropertyManager; end; class function CoPropertyManager.CreateRemote(const MachineName: string): IPropertyManager; begin Result := CreateRemoteComObject(MachineName, CLASS_PropertyManager) as IPropertyManager; end; class function CoDrawingDocument.Create: IDrawingDocument; begin Result := CreateComObject(CLASS_DrawingDocument) as IDrawingDocument; end; class function CoDrawingDocument.CreateRemote(const MachineName: string): IDrawingDocument; begin Result := CreateRemoteComObject(MachineName, CLASS_DrawingDocument) as IDrawingDocument; end; class function CoFragmentDocument.Create: IFragmentDocument; begin Result := CreateComObject(CLASS_FragmentDocument) as IFragmentDocument; end; class function CoFragmentDocument.CreateRemote(const MachineName: string): IFragmentDocument; begin Result := CreateRemoteComObject(MachineName, CLASS_FragmentDocument) as IFragmentDocument; end; class function CoSpecificationDocument.Create: ISpecificationDocument; begin Result := CreateComObject(CLASS_SpecificationDocument) as ISpecificationDocument; end; class function CoSpecificationDocument.CreateRemote(const MachineName: string): ISpecificationDocument; begin Result := CreateRemoteComObject(MachineName, CLASS_SpecificationDocument) as ISpecificationDocument; end; class function CoTextDocument.Create: ITextDocument; begin Result := CreateComObject(CLASS_TextDocument) as ITextDocument; end; class function CoTextDocument.CreateRemote(const MachineName: string): ITextDocument; begin Result := CreateRemoteComObject(MachineName, CLASS_TextDocument) as ITextDocument; end; class function CoPartDocument.Create: IPartDocument; begin Result := CreateComObject(CLASS_PartDocument) as IPartDocument; end; class function CoPartDocument.CreateRemote(const MachineName: string): IPartDocument; begin Result := CreateRemoteComObject(MachineName, CLASS_PartDocument) as IPartDocument; end; class function CoAssemblyDocument.Create: IAssemblyDocument; begin Result := CreateComObject(CLASS_AssemblyDocument) as IAssemblyDocument; end; class function CoAssemblyDocument.CreateRemote(const MachineName: string): IAssemblyDocument; begin Result := CreateRemoteComObject(MachineName, CLASS_AssemblyDocument) as IAssemblyDocument; end; class function CoPropertyTextButton.Create: IPropertyTextButton; begin Result := CreateComObject(CLASS_PropertyTextButton) as IPropertyTextButton; end; class function CoPropertyTextButton.CreateRemote(const MachineName: string): IPropertyTextButton; begin Result := CreateRemoteComObject(MachineName, CLASS_PropertyTextButton) as IPropertyTextButton; end; class function CoPropertySpinEdit.Create: IPropertySpinEdit; begin Result := CreateComObject(CLASS_PropertySpinEdit) as IPropertySpinEdit; end; class function CoPropertySpinEdit.CreateRemote(const MachineName: string): IPropertySpinEdit; begin Result := CreateRemoteComObject(MachineName, CLASS_PropertySpinEdit) as IPropertySpinEdit; end; class function CoViewsAndLayersManager.Create: IViewsAndLayersManager; begin Result := CreateComObject(CLASS_ViewsAndLayersManager) as IViewsAndLayersManager; end; class function CoViewsAndLayersManager.CreateRemote(const MachineName: string): IViewsAndLayersManager; begin Result := CreateRemoteComObject(MachineName, CLASS_ViewsAndLayersManager) as IViewsAndLayersManager; end; class function CoDrawingObject.Create: IDrawingObject; begin Result := CreateComObject(CLASS_DrawingObject) as IDrawingObject; end; class function CoDrawingObject.CreateRemote(const MachineName: string): IDrawingObject; begin Result := CreateRemoteComObject(MachineName, CLASS_DrawingObject) as IDrawingObject; end; class function CoDrawingObjects.Create: IDrawingObjects; begin Result := CreateComObject(CLASS_DrawingObjects) as IDrawingObjects; end; class function CoDrawingObjects.CreateRemote(const MachineName: string): IDrawingObjects; begin Result := CreateRemoteComObject(MachineName, CLASS_DrawingObjects) as IDrawingObjects; end; class function CoViews.Create: IViews; begin Result := CreateComObject(CLASS_Views) as IViews; end; class function CoViews.CreateRemote(const MachineName: string): IViews; begin Result := CreateRemoteComObject(MachineName, CLASS_Views) as IViews; end; class function CoView.Create: IView; begin Result := CreateComObject(CLASS_View) as IView; end; class function CoView.CreateRemote(const MachineName: string): IView; begin Result := CreateRemoteComObject(MachineName, CLASS_View) as IView; end; class function CoAssociationView.Create: IAssociationView; begin Result := CreateComObject(CLASS_AssociationView) as IAssociationView; end; class function CoAssociationView.CreateRemote(const MachineName: string): IAssociationView; begin Result := CreateRemoteComObject(MachineName, CLASS_AssociationView) as IAssociationView; end; class function CoLayerGroups.Create: ILayerGroups; begin Result := CreateComObject(CLASS_LayerGroups) as ILayerGroups; end; class function CoLayerGroups.CreateRemote(const MachineName: string): ILayerGroups; begin Result := CreateRemoteComObject(MachineName, CLASS_LayerGroups) as ILayerGroups; end; class function CoLayerGroup.Create: ILayerGroup; begin Result := CreateComObject(CLASS_LayerGroup) as ILayerGroup; end; class function CoLayerGroup.CreateRemote(const MachineName: string): ILayerGroup; begin Result := CreateRemoteComObject(MachineName, CLASS_LayerGroup) as ILayerGroup; end; class function CoLayers.Create: ILayers; begin Result := CreateComObject(CLASS_Layers) as ILayers; end; class function CoLayers.CreateRemote(const MachineName: string): ILayers; begin Result := CreateRemoteComObject(MachineName, CLASS_Layers) as ILayers; end; class function CoLayer.Create: ILayer; begin Result := CreateComObject(CLASS_Layer) as ILayer; end; class function CoLayer.CreateRemote(const MachineName: string): ILayer; begin Result := CreateRemoteComObject(MachineName, CLASS_Layer) as ILayer; end; class function CoLayerFilterCondition.Create: ILayerFilterCondition; begin Result := CreateComObject(CLASS_LayerFilterCondition) as ILayerFilterCondition; end; class function CoLayerFilterCondition.CreateRemote(const MachineName: string): ILayerFilterCondition; begin Result := CreateRemoteComObject(MachineName, CLASS_LayerFilterCondition) as ILayerFilterCondition; end; class function CoLayerFilterConditions.Create: ILayerFilterConditions; begin Result := CreateComObject(CLASS_LayerFilterConditions) as ILayerFilterConditions; end; class function CoLayerFilterConditions.CreateRemote(const MachineName: string): ILayerFilterConditions; begin Result := CreateRemoteComObject(MachineName, CLASS_LayerFilterConditions) as ILayerFilterConditions; end; class function CoDocumentSettings.Create: IDocumentSettings; begin Result := CreateComObject(CLASS_DocumentSettings) as IDocumentSettings; end; class function CoDocumentSettings.CreateRemote(const MachineName: string): IDocumentSettings; begin Result := CreateRemoteComObject(MachineName, CLASS_DocumentSettings) as IDocumentSettings; end; class function CoDocument2DSettings.Create: IDocument2DSettings; begin Result := CreateComObject(CLASS_Document2DSettings) as IDocument2DSettings; end; class function CoDocument2DSettings.CreateRemote(const MachineName: string): IDocument2DSettings; begin Result := CreateRemoteComObject(MachineName, CLASS_Document2DSettings) as IDocument2DSettings; end; class function CoDrawingDocumentSettings.Create: IDrawingDocumentSettings; begin Result := CreateComObject(CLASS_DrawingDocumentSettings) as IDrawingDocumentSettings; end; class function CoDrawingDocumentSettings.CreateRemote(const MachineName: string): IDrawingDocumentSettings; begin Result := CreateRemoteComObject(MachineName, CLASS_DrawingDocumentSettings) as IDrawingDocumentSettings; end; class function CoFragmentDocumentSettings.Create: IFragmentDocumentSettings; begin Result := CreateComObject(CLASS_FragmentDocumentSettings) as IFragmentDocumentSettings; end; class function CoFragmentDocumentSettings.CreateRemote(const MachineName: string): IFragmentDocumentSettings; begin Result := CreateRemoteComObject(MachineName, CLASS_FragmentDocumentSettings) as IFragmentDocumentSettings; end; end.