From 33613a85afc4b1481367fbe92a17ee59c240250b Mon Sep 17 00:00:00 2001 From: Sven Eisenhauer Date: Fri, 10 Nov 2023 15:11:48 +0100 Subject: add new repo --- Master/CGuCAD/Beispiele/MyLine/MyLine.ncb | Bin 0 -> 22383616 bytes Master/CGuCAD/Beispiele/MyLine/MyLine.sln | 20 ++ Master/CGuCAD/Beispiele/MyLine/MyLine.suo | Bin 0 -> 11776 bytes .../Beispiele/MyLine/MyLine/Debug/BuildLog.htm | Bin 0 -> 14556 bytes .../Beispiele/MyLine/MyLine/Debug/CGCADMyLine.arx | Bin 0 -> 114688 bytes .../MyLine/Debug/CGCADMyLine.arx.embed.manifest | 23 ++ .../Debug/CGCADMyLine.arx.embed.manifest.res | Bin 0 -> 1224 bytes .../Debug/CGCADMyLine.arx.intermediate.manifest | 23 ++ .../Beispiele/MyLine/MyLine/Debug/CGCADMyLine.ilk | Bin 0 -> 581004 bytes .../Beispiele/MyLine/MyLine/Debug/CGCADMyLine.pch | Bin 0 -> 29622272 bytes .../Beispiele/MyLine/MyLine/Debug/DocData.obj | Bin 0 -> 134125 bytes .../Beispiele/MyLine/MyLine/Debug/MyLine.exp | Bin 0 -> 639 bytes .../Beispiele/MyLine/MyLine/Debug/MyLine.lib | Bin 0 -> 1780 bytes .../Beispiele/MyLine/MyLine/Debug/MyLine.obj | Bin 0 -> 23023 bytes .../Beispiele/MyLine/MyLine/Debug/MyLine.pdb | Bin 0 -> 4697088 bytes .../Beispiele/MyLine/MyLine/Debug/MyLine.res | Bin 0 -> 872 bytes .../Beispiele/MyLine/MyLine/Debug/StdAfx.obj | Bin 0 -> 374238 bytes .../MyLine/MyLine/Debug/acrxEntryPoint.obj | Bin 0 -> 58351 bytes Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/mt.dep | 1 + .../CGuCAD/Beispiele/MyLine/MyLine/Debug/vc80.idb | Bin 0 -> 2427904 bytes .../CGuCAD/Beispiele/MyLine/MyLine/Debug/vc80.pdb | Bin 0 -> 1994752 bytes Master/CGuCAD/Beispiele/MyLine/MyLine/DocData.cpp | 43 ++++ Master/CGuCAD/Beispiele/MyLine/MyLine/DocData.h | 40 +++ Master/CGuCAD/Beispiele/MyLine/MyLine/MyLine.cpp | 59 +++++ Master/CGuCAD/Beispiele/MyLine/MyLine/MyLine.rc | 101 ++++++++ .../CGuCAD/Beispiele/MyLine/MyLine/MyLine.vcproj | 269 +++++++++++++++++++++ .../MyLine.vcproj.PC3000-ER.Stefan Wiesmann.user | 65 +++++ .../MyLine/MyLine.vcproj.SYNERVA.eisenhauer.user | 65 +++++ Master/CGuCAD/Beispiele/MyLine/MyLine/Resource.h | 16 ++ Master/CGuCAD/Beispiele/MyLine/MyLine/StdAfx.cpp | 27 +++ Master/CGuCAD/Beispiele/MyLine/MyLine/StdAfx.h | 104 ++++++++ .../Beispiele/MyLine/MyLine/acrxEntryPoint.cpp | 106 ++++++++ 32 files changed, 962 insertions(+) create mode 100644 Master/CGuCAD/Beispiele/MyLine/MyLine.ncb create mode 100644 Master/CGuCAD/Beispiele/MyLine/MyLine.sln create mode 100644 Master/CGuCAD/Beispiele/MyLine/MyLine.suo create mode 100644 Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/BuildLog.htm create mode 100644 Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/CGCADMyLine.arx create mode 100644 Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/CGCADMyLine.arx.embed.manifest create mode 100644 Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/CGCADMyLine.arx.embed.manifest.res create mode 100644 Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/CGCADMyLine.arx.intermediate.manifest create mode 100644 Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/CGCADMyLine.ilk create mode 100644 Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/CGCADMyLine.pch create mode 100644 Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/DocData.obj create mode 100644 Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/MyLine.exp create mode 100644 Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/MyLine.lib create mode 100644 Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/MyLine.obj create mode 100644 Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/MyLine.pdb create mode 100644 Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/MyLine.res create mode 100644 Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/StdAfx.obj create mode 100644 Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/acrxEntryPoint.obj create mode 100644 Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/mt.dep create mode 100644 Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/vc80.idb create mode 100644 Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/vc80.pdb create mode 100644 Master/CGuCAD/Beispiele/MyLine/MyLine/DocData.cpp create mode 100644 Master/CGuCAD/Beispiele/MyLine/MyLine/DocData.h create mode 100644 Master/CGuCAD/Beispiele/MyLine/MyLine/MyLine.cpp create mode 100644 Master/CGuCAD/Beispiele/MyLine/MyLine/MyLine.rc create mode 100644 Master/CGuCAD/Beispiele/MyLine/MyLine/MyLine.vcproj create mode 100644 Master/CGuCAD/Beispiele/MyLine/MyLine/MyLine.vcproj.PC3000-ER.Stefan Wiesmann.user create mode 100644 Master/CGuCAD/Beispiele/MyLine/MyLine/MyLine.vcproj.SYNERVA.eisenhauer.user create mode 100644 Master/CGuCAD/Beispiele/MyLine/MyLine/Resource.h create mode 100644 Master/CGuCAD/Beispiele/MyLine/MyLine/StdAfx.cpp create mode 100644 Master/CGuCAD/Beispiele/MyLine/MyLine/StdAfx.h create mode 100644 Master/CGuCAD/Beispiele/MyLine/MyLine/acrxEntryPoint.cpp (limited to 'Master/CGuCAD/Beispiele/MyLine') diff --git a/Master/CGuCAD/Beispiele/MyLine/MyLine.ncb b/Master/CGuCAD/Beispiele/MyLine/MyLine.ncb new file mode 100644 index 0000000..959e51f Binary files /dev/null and b/Master/CGuCAD/Beispiele/MyLine/MyLine.ncb differ diff --git a/Master/CGuCAD/Beispiele/MyLine/MyLine.sln b/Master/CGuCAD/Beispiele/MyLine/MyLine.sln new file mode 100644 index 0000000..b41eaa8 --- /dev/null +++ b/Master/CGuCAD/Beispiele/MyLine/MyLine.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 9.00 +# Visual Studio 2005 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "MyLine", "MyLine\MyLine.vcproj", "{36906AA5-2051-49DB-85F5-389B84795437}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Release|Win32 = Release|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {36906AA5-2051-49DB-85F5-389B84795437}.Debug|Win32.ActiveCfg = Debug|Win32 + {36906AA5-2051-49DB-85F5-389B84795437}.Debug|Win32.Build.0 = Debug|Win32 + {36906AA5-2051-49DB-85F5-389B84795437}.Release|Win32.ActiveCfg = Release|Win32 + {36906AA5-2051-49DB-85F5-389B84795437}.Release|Win32.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Master/CGuCAD/Beispiele/MyLine/MyLine.suo b/Master/CGuCAD/Beispiele/MyLine/MyLine.suo new file mode 100644 index 0000000..71242bd Binary files /dev/null and b/Master/CGuCAD/Beispiele/MyLine/MyLine.suo differ diff --git a/Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/BuildLog.htm b/Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/BuildLog.htm new file mode 100644 index 0000000..b43717b Binary files /dev/null and b/Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/BuildLog.htm differ diff --git a/Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/CGCADMyLine.arx b/Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/CGCADMyLine.arx new file mode 100644 index 0000000..6b23db6 Binary files /dev/null and b/Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/CGCADMyLine.arx differ diff --git a/Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/CGCADMyLine.arx.embed.manifest b/Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/CGCADMyLine.arx.embed.manifest new file mode 100644 index 0000000..3a387b0 --- /dev/null +++ b/Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/CGCADMyLine.arx.embed.manifest @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/CGCADMyLine.arx.embed.manifest.res b/Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/CGCADMyLine.arx.embed.manifest.res new file mode 100644 index 0000000..8d75e15 Binary files /dev/null and b/Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/CGCADMyLine.arx.embed.manifest.res differ diff --git a/Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/CGCADMyLine.arx.intermediate.manifest b/Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/CGCADMyLine.arx.intermediate.manifest new file mode 100644 index 0000000..0e2b419 --- /dev/null +++ b/Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/CGCADMyLine.arx.intermediate.manifest @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/CGCADMyLine.ilk b/Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/CGCADMyLine.ilk new file mode 100644 index 0000000..3083116 Binary files /dev/null and b/Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/CGCADMyLine.ilk differ diff --git a/Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/CGCADMyLine.pch b/Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/CGCADMyLine.pch new file mode 100644 index 0000000..acf8ffd Binary files /dev/null and b/Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/CGCADMyLine.pch differ diff --git a/Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/DocData.obj b/Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/DocData.obj new file mode 100644 index 0000000..dfcb5b8 Binary files /dev/null and b/Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/DocData.obj differ diff --git a/Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/MyLine.exp b/Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/MyLine.exp new file mode 100644 index 0000000..edbeab3 Binary files /dev/null and b/Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/MyLine.exp differ diff --git a/Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/MyLine.lib b/Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/MyLine.lib new file mode 100644 index 0000000..5cf95e3 Binary files /dev/null and b/Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/MyLine.lib differ diff --git a/Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/MyLine.obj b/Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/MyLine.obj new file mode 100644 index 0000000..d8ab86a Binary files /dev/null and b/Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/MyLine.obj differ diff --git a/Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/MyLine.pdb b/Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/MyLine.pdb new file mode 100644 index 0000000..6933ffd Binary files /dev/null and b/Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/MyLine.pdb differ diff --git a/Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/MyLine.res b/Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/MyLine.res new file mode 100644 index 0000000..392bb7c Binary files /dev/null and b/Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/MyLine.res differ diff --git a/Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/StdAfx.obj b/Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/StdAfx.obj new file mode 100644 index 0000000..17d4d27 Binary files /dev/null and b/Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/StdAfx.obj differ diff --git a/Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/acrxEntryPoint.obj b/Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/acrxEntryPoint.obj new file mode 100644 index 0000000..5a48b0c Binary files /dev/null and b/Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/acrxEntryPoint.obj differ diff --git a/Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/mt.dep b/Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/mt.dep new file mode 100644 index 0000000..9ed229e --- /dev/null +++ b/Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/mt.dep @@ -0,0 +1 @@ + die Manifestressource wurde zuletzt um 12:53:54,34 am 19.03.2007 aktualisiert diff --git a/Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/vc80.idb b/Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/vc80.idb new file mode 100644 index 0000000..7740636 Binary files /dev/null and b/Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/vc80.idb differ diff --git a/Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/vc80.pdb b/Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/vc80.pdb new file mode 100644 index 0000000..b25a03f Binary files /dev/null and b/Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/vc80.pdb differ diff --git a/Master/CGuCAD/Beispiele/MyLine/MyLine/DocData.cpp b/Master/CGuCAD/Beispiele/MyLine/MyLine/DocData.cpp new file mode 100644 index 0000000..7429228 --- /dev/null +++ b/Master/CGuCAD/Beispiele/MyLine/MyLine/DocData.cpp @@ -0,0 +1,43 @@ +// (C) Copyright 2002-2005 by Autodesk, Inc. +// +// Permission to use, copy, modify, and distribute this software in +// object code form for any purpose and without fee is hereby granted, +// provided that the above copyright notice appears in all copies and +// that both that copyright notice and the limited warranty and +// restricted rights notice below appear in all supporting +// documentation. +// +// AUTODESK PROVIDES THIS PROGRAM "AS IS" AND WITH ALL FAULTS. +// AUTODESK SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF +// MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. AUTODESK, INC. +// DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE +// UNINTERRUPTED OR ERROR FREE. +// +// Use, duplication, or disclosure by the U.S. Government is subject to +// restrictions set forth in FAR 52.227-19 (Commercial Computer +// Software - Restricted Rights) and DFAR 252.227-7013(c)(1)(ii) +// (Rights in Technical Data and Computer Software), as applicable. +// + +//----------------------------------------------------------------------------- +//----- DocData.cpp : Implementation file +//----------------------------------------------------------------------------- +#include "StdAfx.h" + +//----------------------------------------------------------------------------- +//----- The one and only document manager object. You can use the DocVars object to retrieve +//----- document specific data throughout your application +AcApDataManager DocVars ; + +//----------------------------------------------------------------------------- +//----- Implementation of the document data class. +CDocData::CDocData () { +} + +//----------------------------------------------------------------------------- +CDocData::CDocData (const CDocData &data) { +} + +//----------------------------------------------------------------------------- +CDocData::~CDocData () { +} diff --git a/Master/CGuCAD/Beispiele/MyLine/MyLine/DocData.h b/Master/CGuCAD/Beispiele/MyLine/MyLine/DocData.h new file mode 100644 index 0000000..d466dd4 --- /dev/null +++ b/Master/CGuCAD/Beispiele/MyLine/MyLine/DocData.h @@ -0,0 +1,40 @@ +// (C) Copyright 2002-2005 by Autodesk, Inc. +// +// Permission to use, copy, modify, and distribute this software in +// object code form for any purpose and without fee is hereby granted, +// provided that the above copyright notice appears in all copies and +// that both that copyright notice and the limited warranty and +// restricted rights notice below appear in all supporting +// documentation. +// +// AUTODESK PROVIDES THIS PROGRAM "AS IS" AND WITH ALL FAULTS. +// AUTODESK SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF +// MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. AUTODESK, INC. +// DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE +// UNINTERRUPTED OR ERROR FREE. +// +// Use, duplication, or disclosure by the U.S. Government is subject to +// restrictions set forth in FAR 52.227-19 (Commercial Computer +// Software - Restricted Rights) and DFAR 252.227-7013(c)(1)(ii) +// (Rights in Technical Data and Computer Software), as applicable. +// + +//----------------------------------------------------------------------------- +//----- DocData.h : include file for document specific data. An instance of this +//----- class is automatically created and managed by the AsdkDataManager class. +//----- See the AsdkDmgr.h / DocData.cpp for more datails +//----------------------------------------------------------------------------- +#pragma once + +//----------------------------------------------------------------------------- +//----- Here you can store the document / database related data. +class CDocData { + + //----- TODO: here you can add your variables + +public: + CDocData () ; + CDocData (const CDocData &data) ; + ~CDocData () ; + +} ; diff --git a/Master/CGuCAD/Beispiele/MyLine/MyLine/MyLine.cpp b/Master/CGuCAD/Beispiele/MyLine/MyLine/MyLine.cpp new file mode 100644 index 0000000..ff24eaf --- /dev/null +++ b/Master/CGuCAD/Beispiele/MyLine/MyLine/MyLine.cpp @@ -0,0 +1,59 @@ +// (C) Copyright 2002-2005 by Autodesk, Inc. +// +// Permission to use, copy, modify, and distribute this software in +// object code form for any purpose and without fee is hereby granted, +// provided that the above copyright notice appears in all copies and +// that both that copyright notice and the limited warranty and +// restricted rights notice below appear in all supporting +// documentation. +// +// AUTODESK PROVIDES THIS PROGRAM "AS IS" AND WITH ALL FAULTS. +// AUTODESK SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF +// MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. AUTODESK, INC. +// DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE +// UNINTERRUPTED OR ERROR FREE. +// +// Use, duplication, or disclosure by the U.S. Government is subject to +// restrictions set forth in FAR 52.227-19 (Commercial Computer +// Software - Restricted Rights) and DFAR 252.227-7013(c)(1)(ii) +// (Rights in Technical Data and Computer Software), as applicable. +// + +//----------------------------------------------------------------------------- +//- MyLine.cpp : Initialization functions +//----------------------------------------------------------------------------- +#include "StdAfx.h" +#include "resource.h" +#include + +//----------------------------------------------------------------------------- +//- Define the sole extension module object. +AC_IMPLEMENT_EXTENSION_MODULE(MyLineDLL) +//- Please do not remove the 3 following lines. These are here to make .NET MFC Wizards +//- running properly. The object will not compile but is require by .NET to recognize +//- this project as being an MFC project +#ifdef NEVER +AFX_EXTENSION_MODULE MyLineExtDLL ={ NULL, NULL } ; +#endif + +//- Now you can use the CAcModuleResourceOverride class in +//- your application to switch to the correct resource instance. +//- Please see the ObjectARX Documentation for more details + +//----------------------------------------------------------------------------- +//- DLL Entry Point +extern "C" +BOOL WINAPI DllMain (HINSTANCE hInstance, DWORD dwReason, LPVOID lpReserved) { + //- Remove this if you use lpReserved + UNREFERENCED_PARAMETER(lpReserved) ; + + if ( dwReason == DLL_PROCESS_ATTACH ) { + _hdllInstance =hInstance ; + MyLineDLL.AttachInstance (hInstance) ; + InitAcUiDLL () ; + } else if ( dwReason == DLL_PROCESS_DETACH ) { + MyLineDLL.DetachInstance () ; + } + return (TRUE) ; +} + diff --git a/Master/CGuCAD/Beispiele/MyLine/MyLine/MyLine.rc b/Master/CGuCAD/Beispiele/MyLine/MyLine/MyLine.rc new file mode 100644 index 0000000..999e700 --- /dev/null +++ b/Master/CGuCAD/Beispiele/MyLine/MyLine/MyLine.rc @@ -0,0 +1,101 @@ +//Microsoft Visual C++ generated resource script. +// +#include "resource.h" + +#define APSTUDIO_READONLY_SYMBOLS +///////////////////////////////////////////////////////////////////////////// +// +// Generated from the TEXTINCLUDE 2 resource. +// +#include "afxres.h" + +///////////////////////////////////////////////////////////////////////////// +#undef APSTUDIO_READONLY_SYMBOLS + +#ifdef APSTUDIO_INVOKED +///////////////////////////////////////////////////////////////////////////// +// +// TEXTINCLUDE +// + +1 TEXTINCLUDE DISCARDABLE +BEGIN + "resource.h\0" +END + +2 TEXTINCLUDE DISCARDABLE +BEGIN + "#include ""afxres.h""\r\n" + "\0" +END + +3 TEXTINCLUDE DISCARDABLE +BEGIN + "\0" +END + +#endif // APSTUDIO_INVOKED + +#ifndef _MAC +///////////////////////////////////////////////////////////////////////////// +// +// Version +// + +VS_VERSION_INFO VERSIONINFO + FILEVERSION 1,0,0,1 + PRODUCTVERSION 1,0,0,1 + FILEFLAGSMASK 0x3fL +#ifdef _DEBUG + FILEFLAGS 0x1L +#else + FILEFLAGS 0x0L +#endif + FILEOS 0x4L + FILETYPE 0x2L + FILESUBTYPE 0x0L +BEGIN + BLOCK "StringFileInfo" + BEGIN + BLOCK "040904B0" + BEGIN + VALUE "CompanyName", "\0" + VALUE "FileDescription", "MyLine ObjectARX application\0" + VALUE "FileVersion", "1, 0, 0, 1\0" + VALUE "InternalName", "MyLine\0" + VALUE "LegalCopyright", "Copyright © 2002\0" + VALUE "OriginalFilename", "CGCADMyLine.arx\0" + VALUE "ProductName", "MyLine Application\0" + VALUE "ProductVersion", "1, 0, 0, 1\0" + END + END + BLOCK "VarFileInfo" + BEGIN + VALUE "Translation", 0x0409, 0x04B0 + END +END + +#endif // !_MAC + +///////////////////////////////////////////////////////////////////////////// +// +// String Table +// + +STRINGTABLE DISCARDABLE +BEGIN + IDS_PROJNAME "MyLine" +END + + + +///////////////////////////////////////////////////////////////////////////// + +#ifndef APSTUDIO_INVOKED +///////////////////////////////////////////////////////////////////////////// +// +// Generated from the TEXTINCLUDE 3 resource. +// +///////////////////////////////////////////////////////////////////////////// +#endif // not APSTUDIO_INVOKED + diff --git a/Master/CGuCAD/Beispiele/MyLine/MyLine/MyLine.vcproj b/Master/CGuCAD/Beispiele/MyLine/MyLine/MyLine.vcproj new file mode 100644 index 0000000..8f7c476 --- /dev/null +++ b/Master/CGuCAD/Beispiele/MyLine/MyLine/MyLine.vcproj @@ -0,0 +1,269 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Master/CGuCAD/Beispiele/MyLine/MyLine/MyLine.vcproj.PC3000-ER.Stefan Wiesmann.user b/Master/CGuCAD/Beispiele/MyLine/MyLine/MyLine.vcproj.PC3000-ER.Stefan Wiesmann.user new file mode 100644 index 0000000..3cf2b5e --- /dev/null +++ b/Master/CGuCAD/Beispiele/MyLine/MyLine/MyLine.vcproj.PC3000-ER.Stefan Wiesmann.user @@ -0,0 +1,65 @@ + + + + + + + + + + + diff --git a/Master/CGuCAD/Beispiele/MyLine/MyLine/MyLine.vcproj.SYNERVA.eisenhauer.user b/Master/CGuCAD/Beispiele/MyLine/MyLine/MyLine.vcproj.SYNERVA.eisenhauer.user new file mode 100644 index 0000000..24510c9 --- /dev/null +++ b/Master/CGuCAD/Beispiele/MyLine/MyLine/MyLine.vcproj.SYNERVA.eisenhauer.user @@ -0,0 +1,65 @@ + + + + + + + + + + + diff --git a/Master/CGuCAD/Beispiele/MyLine/MyLine/Resource.h b/Master/CGuCAD/Beispiele/MyLine/MyLine/Resource.h new file mode 100644 index 0000000..00426d2 --- /dev/null +++ b/Master/CGuCAD/Beispiele/MyLine/MyLine/Resource.h @@ -0,0 +1,16 @@ +//{{NO_DEPENDENCIES}} +// Microsoft Visual C++ generated include file. +// Used by MyLine.rc +// +#define IDS_PROJNAME 100 + +// Next default values for new objects +// +#ifdef APSTUDIO_INVOKED +#ifndef APSTUDIO_READONLY_SYMBOLS +#define _APS_NEXT_RESOURCE_VALUE 102 +#define _APS_NEXT_COMMAND_VALUE 32768 +#define _APS_NEXT_CONTROL_VALUE 100 +#define _APS_NEXT_SYMED_VALUE 102 +#endif +#endif diff --git a/Master/CGuCAD/Beispiele/MyLine/MyLine/StdAfx.cpp b/Master/CGuCAD/Beispiele/MyLine/MyLine/StdAfx.cpp new file mode 100644 index 0000000..26d0a6a --- /dev/null +++ b/Master/CGuCAD/Beispiele/MyLine/MyLine/StdAfx.cpp @@ -0,0 +1,27 @@ +// (C) Copyright 2002-2005 by Autodesk, Inc. +// +// Permission to use, copy, modify, and distribute this software in +// object code form for any purpose and without fee is hereby granted, +// provided that the above copyright notice appears in all copies and +// that both that copyright notice and the limited warranty and +// restricted rights notice below appear in all supporting +// documentation. +// +// AUTODESK PROVIDES THIS PROGRAM "AS IS" AND WITH ALL FAULTS. +// AUTODESK SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF +// MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. AUTODESK, INC. +// DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE +// UNINTERRUPTED OR ERROR FREE. +// +// Use, duplication, or disclosure by the U.S. Government is subject to +// restrictions set forth in FAR 52.227-19 (Commercial Computer +// Software - Restricted Rights) and DFAR 252.227-7013(c)(1)(ii) +// (Rights in Technical Data and Computer Software), as applicable. +// + +//----------------------------------------------------------------------------- +//------ StdAfx.cpp : source file that includes just the standard includes +//------ StdAfx.pch will be the pre-compiled header +//------ StdAfx.obj will contain the pre-compiled type information +//----------------------------------------------------------------------------- +#include "StdAfx.h" diff --git a/Master/CGuCAD/Beispiele/MyLine/MyLine/StdAfx.h b/Master/CGuCAD/Beispiele/MyLine/MyLine/StdAfx.h new file mode 100644 index 0000000..a6c2d9b --- /dev/null +++ b/Master/CGuCAD/Beispiele/MyLine/MyLine/StdAfx.h @@ -0,0 +1,104 @@ +// (C) Copyright 2002-2005 by Autodesk, Inc. +// +// Permission to use, copy, modify, and distribute this software in +// object code form for any purpose and without fee is hereby granted, +// provided that the above copyright notice appears in all copies and +// that both that copyright notice and the limited warranty and +// restricted rights notice below appear in all supporting +// documentation. +// +// AUTODESK PROVIDES THIS PROGRAM "AS IS" AND WITH ALL FAULTS. +// AUTODESK SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF +// MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. AUTODESK, INC. +// DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE +// UNINTERRUPTED OR ERROR FREE. +// +// Use, duplication, or disclosure by the U.S. Government is subject to +// restrictions set forth in FAR 52.227-19 (Commercial Computer +// Software - Restricted Rights) and DFAR 252.227-7013(c)(1)(ii) +// (Rights in Technical Data and Computer Software), as applicable. +// + +//----------------------------------------------------------------------------- +//- StdAfx.h : include file for standard system include files, +//- or project specific include files that are used frequently, +//- but are changed infrequently +//----------------------------------------------------------------------------- +#pragma once + +#pragma pack (push, 8) +#pragma warning(disable: 4786 4996) +//#pragma warning(disable: 4098) + +//----------------------------------------------------------------------------- +#define STRICT + +#ifndef VC_EXTRALEAN +#define VC_EXTRALEAN //- Exclude rarely-used stuff from Windows headers +#endif + +//- Modify the following defines if you have to target a platform prior to the ones specified below. +//- Refer to MSDN for the latest info on corresponding values for different platforms. +#ifndef WINVER //- Allow use of features specific to Windows 95 and Windows NT 4 or later. +#define WINVER 0x0400 //- Change this to the appropriate value to target Windows 98 and Windows 2000 or later. +#endif + +#ifndef _WIN32_WINNT //- Allow use of features specific to Windows NT 4 or later. +#define _WIN32_WINNT 0x0400 //- Change this to the appropriate value to target Windows 2000 or later. +#endif + +#ifndef _WIN32_WINDOWS //- Allow use of features specific to Windows 98 or later. +#define _WIN32_WINDOWS 0x0410 //- Change this to the appropriate value to target Windows Me or later. +#endif + +#ifndef _WIN32_IE //- Allow use of features specific to IE 4.0 or later. +#define _WIN32_IE 0x0400 //- Change this to the appropriate value to target IE 5.0 or later. +#endif + + +//- ObjectARX and OMF headers needs this +#include + +//----------------------------------------------------------------------------- +#include //- MFC core and standard components +#include //- MFC extensions + +#ifndef _AFX_NO_OLE_SUPPORT +#include //- MFC OLE classes +#include //- MFC OLE dialog classes +#include //- MFC Automation classes +#endif // _AFX_NO_OLE_SUPPORT + +#ifndef _AFX_NO_DB_SUPPORT +#include //- MFC ODBC database classes +#endif // _AFX_NO_DB_SUPPORT + +#ifndef _AFX_NO_DAO_SUPPORT +#include //- MFC DAO database classes +#endif // _AFX_NO_DAO_SUPPORT + +#include //- MFC support for Internet Explorer 4 Common Controls +#ifndef _AFX_NO_AFXCMN_SUPPORT +#include //- MFC support for Windows Common Controls +#endif // _AFX_NO_AFXCMN_SUPPORT + +//----------------------------------------------------------------------------- +//- Include ObjectDBX/ObjectARX headers +//- Uncomment one of the following lines to bring a given library in your project. +//#define _BREP_SUPPORT_ //- Support for the BRep API +//#define _HLR_SUPPORT_ //- Support for the Hidden Line Removal API +//#define _AMODELER_SUPPORT_ //- Support for the AModeler API +//#define _ASE_SUPPORT_ //- Support for the ASI/ASE API +//#define _RENDER_SUPPORT_ //- Support for the AutoCAD Render API +//#define _ARX_CUSTOM_DRAG_N_DROP_ //- Support for the ObjectARX Drag'n Drop API +//#define _INC_LEAGACY_HEADERS_ //- Include legacy headers in this project +#include "arxHeaders.h" + +//----------------------------------------------------------------------------- +#include "DocData.h" //- Your document specific data class holder + +//- Declare it as an extern here so that it becomes available in all modules +extern AcApDataManager DocVars ; + +#pragma pack (pop) + diff --git a/Master/CGuCAD/Beispiele/MyLine/MyLine/acrxEntryPoint.cpp b/Master/CGuCAD/Beispiele/MyLine/MyLine/acrxEntryPoint.cpp new file mode 100644 index 0000000..e04d0d2 --- /dev/null +++ b/Master/CGuCAD/Beispiele/MyLine/MyLine/acrxEntryPoint.cpp @@ -0,0 +1,106 @@ +// (C) Copyright 2002-2005 by Autodesk, Inc. +// +// Permission to use, copy, modify, and distribute this software in +// object code form for any purpose and without fee is hereby granted, +// provided that the above copyright notice appears in all copies and +// that both that copyright notice and the limited warranty and +// restricted rights notice below appear in all supporting +// documentation. +// +// AUTODESK PROVIDES THIS PROGRAM "AS IS" AND WITH ALL FAULTS. +// AUTODESK SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF +// MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. AUTODESK, INC. +// DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE +// UNINTERRUPTED OR ERROR FREE. +// +// Use, duplication, or disclosure by the U.S. Government is subject to +// restrictions set forth in FAR 52.227-19 (Commercial Computer +// Software - Restricted Rights) and DFAR 252.227-7013(c)(1)(ii) +// (Rights in Technical Data and Computer Software), as applicable. +// + +//----------------------------------------------------------------------------- +//----- acrxEntryPoint.h +//----------------------------------------------------------------------------- +#include "StdAfx.h" +#include "resource.h" + +//----------------------------------------------------------------------------- +#define szRDS _RXST("CGCAD") + +//----------------------------------------------------------------------------- +//----- ObjectARX EntryPoint +class CMyLineApp : public AcRxArxApp { + +public: + CMyLineApp () : AcRxArxApp () {} + + virtual AcRx::AppRetCode On_kInitAppMsg (void *pkt) { + // TODO: Load dependencies here + + // You *must* call On_kInitAppMsg here + AcRx::AppRetCode retCode =AcRxArxApp::On_kInitAppMsg (pkt) ; + + // TODO: Add your initialization code here + + return (retCode) ; + } + + virtual AcRx::AppRetCode On_kUnloadAppMsg (void *pkt) { + // TODO: Add your code here + + // You *must* call On_kUnloadAppMsg here + AcRx::AppRetCode retCode =AcRxArxApp::On_kUnloadAppMsg (pkt) ; + + // TODO: Unload dependencies here + + return (retCode) ; + } + + virtual void RegisterServerComponents () { + } + + + // - CGCADMyLine.myLine command (do not rename) + static void CGCADMyLinemyLine(void) + { + // Add your code for command CGCADMyLine.myLine here + // eingefuegt WI und folgende ... + + // We first need to declare a couple of points + AcGePoint3d startPt(1.0, 1.0, 0.0); + AcGePoint3d endPt(100.0, 100.0, 0.0); + + // Now we need to instantiate an AcDbLine pointer + // In this case, its constructor allows me to pass the 2 points + AcDbLine *pLine = new AcDbLine(startPt, endPt); + + // Now we need to open the appropriate container which is inside BlockTable + AcDbBlockTable *pBlockTable = NULL; + + // First, get the current database and then get the BlockTable + AcDbDatabase* pDB = acdbHostApplicationServices()->workingDatabase(); + pDB->getSymbolTable(pBlockTable, AcDb::kForRead); + + // Inside BlockTable, open the ModelSpace + AcDbBlockTableRecord* pBlockTableRecord = NULL; + pBlockTable->getAt(ACDB_MODEL_SPACE, pBlockTableRecord, AcDb::kForWrite); + + // After get ModelSpace we can close the BlockTable + pBlockTable->close(); + + // Using ModelSpace pointer we can add our brand new line + AcDbObjectId lineId = AcDbObjectId::kNull; + pBlockTableRecord->appendAcDbEntity(lineId, pLine); + + // To finish the process we need to close ModelSpace and the entity + pBlockTableRecord->close(); + pLine->close(); + // ... Ende Einfuegung WI + } +} ; + +//----------------------------------------------------------------------------- +IMPLEMENT_ARX_ENTRYPOINT(CMyLineApp) + +ACED_ARXCOMMAND_ENTRY_AUTO(CMyLineApp, CGCADMyLine, myLine, meineLinie, ACRX_CMD_MODAL, NULL) -- cgit v1.2.3