diff options
| author | Sven Eisenhauer <sven@sven-eisenhauer.net> | 2023-11-10 15:11:48 +0100 |
|---|---|---|
| committer | Sven Eisenhauer <sven@sven-eisenhauer.net> | 2023-11-10 15:11:48 +0100 |
| commit | 33613a85afc4b1481367fbe92a17ee59c240250b (patch) | |
| tree | 670b842326116b376b505ec2263878912fca97e2 /Master/CGuCAD/Beispiele | |
| download | Studium-master.tar.gz Studium-master.tar.bz2 | |
Diffstat (limited to 'Master/CGuCAD/Beispiele')
186 files changed, 5365 insertions, 0 deletions
diff --git a/Master/CGuCAD/Beispiele/ArxProjectHelloWorld/ArxProject.ncb b/Master/CGuCAD/Beispiele/ArxProjectHelloWorld/ArxProject.ncb Binary files differnew file mode 100644 index 0000000..e97336a --- /dev/null +++ b/Master/CGuCAD/Beispiele/ArxProjectHelloWorld/ArxProject.ncb diff --git a/Master/CGuCAD/Beispiele/ArxProjectHelloWorld/ArxProject.sln b/Master/CGuCAD/Beispiele/ArxProjectHelloWorld/ArxProject.sln new file mode 100644 index 0000000..df288ca --- /dev/null +++ b/Master/CGuCAD/Beispiele/ArxProjectHelloWorld/ArxProject.sln @@ -0,0 +1,20 @@ +
+Microsoft Visual Studio Solution File, Format Version 9.00
+# Visual Studio 2005
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ArxProject", "ArxProject\ArxProject.vcproj", "{35F53BDC-8B7D-4791-AD68-387C06176DBE}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Win32 = Debug|Win32
+ Release|Win32 = Release|Win32
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {35F53BDC-8B7D-4791-AD68-387C06176DBE}.Debug|Win32.ActiveCfg = Debug|Win32
+ {35F53BDC-8B7D-4791-AD68-387C06176DBE}.Debug|Win32.Build.0 = Debug|Win32
+ {35F53BDC-8B7D-4791-AD68-387C06176DBE}.Release|Win32.ActiveCfg = Release|Win32
+ {35F53BDC-8B7D-4791-AD68-387C06176DBE}.Release|Win32.Build.0 = Release|Win32
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+EndGlobal
diff --git a/Master/CGuCAD/Beispiele/ArxProjectHelloWorld/ArxProject.suo b/Master/CGuCAD/Beispiele/ArxProjectHelloWorld/ArxProject.suo Binary files differnew file mode 100644 index 0000000..322bea4 --- /dev/null +++ b/Master/CGuCAD/Beispiele/ArxProjectHelloWorld/ArxProject.suo diff --git a/Master/CGuCAD/Beispiele/ArxProjectHelloWorld/ArxProject/ArxProject.aps b/Master/CGuCAD/Beispiele/ArxProjectHelloWorld/ArxProject/ArxProject.aps Binary files differnew file mode 100644 index 0000000..ae1a9df --- /dev/null +++ b/Master/CGuCAD/Beispiele/ArxProjectHelloWorld/ArxProject/ArxProject.aps diff --git a/Master/CGuCAD/Beispiele/ArxProjectHelloWorld/ArxProject/ArxProject.def b/Master/CGuCAD/Beispiele/ArxProjectHelloWorld/ArxProject/ArxProject.def new file mode 100644 index 0000000..f96d468 --- /dev/null +++ b/Master/CGuCAD/Beispiele/ArxProjectHelloWorld/ArxProject/ArxProject.def @@ -0,0 +1,5 @@ +LIBRARY "ArxProject"
+
+EXPORTS
+acrxEntryPoint PRIVATE
+acrxGetApiVersion PRIVATE
\ No newline at end of file diff --git a/Master/CGuCAD/Beispiele/ArxProjectHelloWorld/ArxProject/ArxProject.rc b/Master/CGuCAD/Beispiele/ArxProjectHelloWorld/ArxProject/ArxProject.rc new file mode 100644 index 0000000..a5861d8 --- /dev/null +++ b/Master/CGuCAD/Beispiele/ArxProjectHelloWorld/ArxProject/ArxProject.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", "ArxProject ObjectARX application\0"
+ VALUE "FileVersion", "1, 0, 0, 1\0"
+ VALUE "InternalName", "ArxProject\0"
+ VALUE "LegalCopyright", "Copyright © 2002\0"
+ VALUE "OriginalFilename", "CG&CADArxProject.arx\0"
+ VALUE "ProductName", "ArxProject 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 "ArxProject"
+END
+
+
+
+/////////////////////////////////////////////////////////////////////////////
+
+#ifndef APSTUDIO_INVOKED
+/////////////////////////////////////////////////////////////////////////////
+//
+// Generated from the TEXTINCLUDE 3 resource.
+//
+/////////////////////////////////////////////////////////////////////////////
+#endif // not APSTUDIO_INVOKED
+
diff --git a/Master/CGuCAD/Beispiele/ArxProjectHelloWorld/ArxProject/ArxProject.vcproj b/Master/CGuCAD/Beispiele/ArxProjectHelloWorld/ArxProject/ArxProject.vcproj new file mode 100644 index 0000000..d9f0ab2 --- /dev/null +++ b/Master/CGuCAD/Beispiele/ArxProjectHelloWorld/ArxProject/ArxProject.vcproj @@ -0,0 +1,250 @@ +<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+ ProjectType="Visual C++"
+ Version="8,00"
+ Name="ArxProject"
+ ProjectGUID="{35F53BDC-8B7D-4791-AD68-387C06176DBE}"
+ >
+ <Platforms>
+ <Platform
+ Name="Win32"
+ />
+ </Platforms>
+ <ToolFiles>
+ </ToolFiles>
+ <Configurations>
+ <Configuration
+ Name="Debug|Win32"
+ OutputDirectory="Debug"
+ IntermediateDirectory="Debug"
+ ConfigurationType="2"
+ UseOfMFC="2"
+ CharacterSet="1"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="0"
+ AdditionalIncludeDirectories="E:\CAD\ObjectARX2007\inc"
+ AdditionalUsingDirectories=""
+ PreprocessorDefinitions="WIN32;_WINDOWS;ARXPROJECT_MODULE;_AFXEXT;_ACRXAPP"
+ StringPooling="false"
+ MinimalRebuild="true"
+ BasicRuntimeChecks="3"
+ RuntimeLibrary="2"
+ BufferSecurityCheck="true"
+ TreatWChar_tAsBuiltInType="true"
+ ForceConformanceInForLoopScope="true"
+ RuntimeTypeInfo="true"
+ UsePrecompiledHeader="0"
+ WarningLevel="1"
+ Detect64BitPortabilityProblems="false"
+ DebugInformationFormat="4"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ PreprocessorDefinitions=""
+ Culture="1033"
+ AdditionalIncludeDirectories="$(IntDir)"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ AdditionalDependencies="rxapi.lib acdb17.lib acge17.lib acad.lib acedapi.lib"
+ OutputFile="$(OutDir)\$(ProjectName).arx"
+ LinkIncremental="2"
+ LinkDLL="true"
+ ModuleDefinitionFile="ArxProject.def"
+ GenerateDebugInformation="true"
+ ProgramDatabaseFile="$(OutDir)/ArxProject.pdb"
+ SubSystem="2"
+ ImportLibrary="$(OutDir)/ArxProject.lib"
+ TargetMachine="1"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCWebDeploymentTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ <Configuration
+ Name="Release|Win32"
+ OutputDirectory="Release"
+ IntermediateDirectory="Release"
+ ConfigurationType="2"
+ UseOfMFC="2"
+ CharacterSet="1"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="2"
+ AdditionalIncludeDirectories="E:\CAD\ObjectARX2007\inc"
+ AdditionalUsingDirectories=""
+ PreprocessorDefinitions="WIN32;_WINDOWS;NDEBUG;ARXPROJECT_MODULE;;_AFXEXT;_ACRXAPP"
+ StringPooling="true"
+ MinimalRebuild="false"
+ BasicRuntimeChecks="0"
+ RuntimeLibrary="2"
+ BufferSecurityCheck="true"
+ TreatWChar_tAsBuiltInType="true"
+ ForceConformanceInForLoopScope="true"
+ RuntimeTypeInfo="true"
+ UsePrecompiledHeader="0"
+ WarningLevel="1"
+ Detect64BitPortabilityProblems="false"
+ DebugInformationFormat="4"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ PreprocessorDefinitions="NDEBUG"
+ Culture="1033"
+ AdditionalIncludeDirectories="$(IntDir)"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ OutputFile="$(outdir)/CG&CADArxProject.arx"
+ LinkIncremental="2"
+ LinkDLL="true"
+ ModuleDefinitionFile="ArxProject.def"
+ GenerateDebugInformation="false"
+ ProgramDatabaseFile=""
+ SubSystem="2"
+ ImportLibrary="$(OutDir)/ArxProject.lib"
+ TargetMachine="1"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCWebDeploymentTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ </Configurations>
+ <References>
+ </References>
+ <Files>
+ <Filter
+ Name="Source Files"
+ Filter="cpp;c;cc;cxx;def;idl;odl"
+ >
+ <File
+ RelativePath=".\ArxProject.def"
+ >
+ </File>
+ <File
+ RelativePath=".\HelloWorld.cpp"
+ >
+ </File>
+ </Filter>
+ <Filter
+ Name="Include Files"
+ Filter="h;hh;hxx"
+ >
+ <File
+ RelativePath=".\DocData.h"
+ >
+ </File>
+ <File
+ RelativePath=".\Resource.h"
+ >
+ </File>
+ <File
+ RelativePath=".\StdAfx.h"
+ >
+ </File>
+ </Filter>
+ <Filter
+ Name="Resource Files"
+ Filter="rc;ico;bmp;cur;jpg;gif"
+ >
+ <File
+ RelativePath=".\ArxProject.rc"
+ >
+ </File>
+ </Filter>
+ <Filter
+ Name="Miscellaneous Files"
+ Filter="reg;rgs;mak;clw;vsdir;vsz;css;inf;vcproj;csproj"
+ >
+ </Filter>
+ </Files>
+ <Globals>
+ </Globals>
+</VisualStudioProject>
diff --git a/Master/CGuCAD/Beispiele/ArxProjectHelloWorld/ArxProject/ArxProject.vcproj.PC3000-ER.Stefan Wiesmann.user b/Master/CGuCAD/Beispiele/ArxProjectHelloWorld/ArxProject/ArxProject.vcproj.PC3000-ER.Stefan Wiesmann.user new file mode 100644 index 0000000..8cc3be6 --- /dev/null +++ b/Master/CGuCAD/Beispiele/ArxProjectHelloWorld/ArxProject/ArxProject.vcproj.PC3000-ER.Stefan Wiesmann.user @@ -0,0 +1,65 @@ +<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioUserFile
+ ProjectType="Visual C++"
+ Version="8,00"
+ ShowAllFiles="false"
+ >
+ <Configurations>
+ <Configuration
+ Name="Debug|Win32"
+ >
+ <DebugSettings
+ Command="c:\Program Files\AutoCAD 2007\acad.exe"
+ WorkingDirectory=""
+ CommandArguments=""
+ Attach="false"
+ DebuggerType="3"
+ Remote="1"
+ RemoteMachine="PC3000-ER"
+ RemoteCommand=""
+ HttpUrl=""
+ PDBPath=""
+ SQLDebugging=""
+ Environment=""
+ EnvironmentMerge="true"
+ DebuggerFlavor=""
+ MPIRunCommand=""
+ MPIRunArguments=""
+ MPIRunWorkingDirectory=""
+ ApplicationCommand=""
+ ApplicationArguments=""
+ ShimCommand=""
+ MPIAcceptMode=""
+ MPIAcceptFilter=""
+ />
+ </Configuration>
+ <Configuration
+ Name="Release|Win32"
+ >
+ <DebugSettings
+ Command="c:\Program Files\AutoCAD 2007\acad.exe"
+ WorkingDirectory=""
+ CommandArguments=""
+ Attach="false"
+ DebuggerType="3"
+ Remote="1"
+ RemoteMachine="PC3000-ER"
+ RemoteCommand=""
+ HttpUrl=""
+ PDBPath=""
+ SQLDebugging=""
+ Environment=""
+ EnvironmentMerge="true"
+ DebuggerFlavor=""
+ MPIRunCommand=""
+ MPIRunArguments=""
+ MPIRunWorkingDirectory=""
+ ApplicationCommand=""
+ ApplicationArguments=""
+ ShimCommand=""
+ MPIAcceptMode=""
+ MPIAcceptFilter=""
+ />
+ </Configuration>
+ </Configurations>
+</VisualStudioUserFile>
diff --git a/Master/CGuCAD/Beispiele/ArxProjectHelloWorld/ArxProject/Debug/ArxProject.arx b/Master/CGuCAD/Beispiele/ArxProjectHelloWorld/ArxProject/Debug/ArxProject.arx Binary files differnew file mode 100644 index 0000000..0a97e42 --- /dev/null +++ b/Master/CGuCAD/Beispiele/ArxProjectHelloWorld/ArxProject/Debug/ArxProject.arx diff --git a/Master/CGuCAD/Beispiele/ArxProjectHelloWorld/ArxProject/Debug/ArxProject.arx.embed.manifest b/Master/CGuCAD/Beispiele/ArxProjectHelloWorld/ArxProject/Debug/ArxProject.arx.embed.manifest new file mode 100644 index 0000000..3a387b0 --- /dev/null +++ b/Master/CGuCAD/Beispiele/ArxProjectHelloWorld/ArxProject/Debug/ArxProject.arx.embed.manifest @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
+ <dependency>
+ <dependentAssembly>
+ <assemblyIdentity type="win32" name="Microsoft.VC80.CRT" version="8.0.50727.762" processorArchitecture="x86" publicKeyToken="1fc8b3b9a1e18e3b"></assemblyIdentity>
+ </dependentAssembly>
+ </dependency>
+ <dependency>
+ <dependentAssembly>
+ <assemblyIdentity type="win32" name="Microsoft.VC80.MFC" version="8.0.50727.762" processorArchitecture="x86" publicKeyToken="1fc8b3b9a1e18e3b"></assemblyIdentity>
+ </dependentAssembly>
+ </dependency>
+ <dependency>
+ <dependentAssembly>
+ <assemblyIdentity type="win32" name="Microsoft.VC80.CRT" version="8.0.50608.0" processorArchitecture="x86" publicKeyToken="1fc8b3b9a1e18e3b"></assemblyIdentity>
+ </dependentAssembly>
+ </dependency>
+ <dependency>
+ <dependentAssembly>
+ <assemblyIdentity type="win32" name="Microsoft.VC80.MFC" version="8.0.50608.0" processorArchitecture="x86" publicKeyToken="1fc8b3b9a1e18e3b"></assemblyIdentity>
+ </dependentAssembly>
+ </dependency>
+</assembly>
\ No newline at end of file diff --git a/Master/CGuCAD/Beispiele/ArxProjectHelloWorld/ArxProject/Debug/ArxProject.arx.embed.manifest.res b/Master/CGuCAD/Beispiele/ArxProjectHelloWorld/ArxProject/Debug/ArxProject.arx.embed.manifest.res Binary files differnew file mode 100644 index 0000000..8d75e15 --- /dev/null +++ b/Master/CGuCAD/Beispiele/ArxProjectHelloWorld/ArxProject/Debug/ArxProject.arx.embed.manifest.res diff --git a/Master/CGuCAD/Beispiele/ArxProjectHelloWorld/ArxProject/Debug/ArxProject.arx.intermediate.manifest b/Master/CGuCAD/Beispiele/ArxProjectHelloWorld/ArxProject/Debug/ArxProject.arx.intermediate.manifest new file mode 100644 index 0000000..0e2b419 --- /dev/null +++ b/Master/CGuCAD/Beispiele/ArxProjectHelloWorld/ArxProject/Debug/ArxProject.arx.intermediate.manifest @@ -0,0 +1,23 @@ +<?xml version='1.0' encoding='UTF-8' standalone='yes'?>
+<assembly xmlns='urn:schemas-microsoft-com:asm.v1' manifestVersion='1.0'>
+ <dependency>
+ <dependentAssembly>
+ <assemblyIdentity type='win32' name='Microsoft.VC80.CRT' version='8.0.50727.762' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b' />
+ </dependentAssembly>
+ </dependency>
+ <dependency>
+ <dependentAssembly>
+ <assemblyIdentity type='win32' name='Microsoft.VC80.MFC' version='8.0.50727.762' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b' />
+ </dependentAssembly>
+ </dependency>
+ <dependency>
+ <dependentAssembly>
+ <assemblyIdentity type='win32' name='Microsoft.VC80.CRT' version='8.0.50608.0' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b' />
+ </dependentAssembly>
+ </dependency>
+ <dependency>
+ <dependentAssembly>
+ <assemblyIdentity type='win32' name='Microsoft.VC80.MFC' version='8.0.50608.0' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b' />
+ </dependentAssembly>
+ </dependency>
+</assembly>
diff --git a/Master/CGuCAD/Beispiele/ArxProjectHelloWorld/ArxProject/Debug/ArxProject.exp b/Master/CGuCAD/Beispiele/ArxProjectHelloWorld/ArxProject/Debug/ArxProject.exp Binary files differnew file mode 100644 index 0000000..f34ba69 --- /dev/null +++ b/Master/CGuCAD/Beispiele/ArxProjectHelloWorld/ArxProject/Debug/ArxProject.exp diff --git a/Master/CGuCAD/Beispiele/ArxProjectHelloWorld/ArxProject/Debug/ArxProject.ilk b/Master/CGuCAD/Beispiele/ArxProjectHelloWorld/ArxProject/Debug/ArxProject.ilk Binary files differnew file mode 100644 index 0000000..104d0d9 --- /dev/null +++ b/Master/CGuCAD/Beispiele/ArxProjectHelloWorld/ArxProject/Debug/ArxProject.ilk diff --git a/Master/CGuCAD/Beispiele/ArxProjectHelloWorld/ArxProject/Debug/ArxProject.lib b/Master/CGuCAD/Beispiele/ArxProjectHelloWorld/ArxProject/Debug/ArxProject.lib Binary files differnew file mode 100644 index 0000000..8ae5fef --- /dev/null +++ b/Master/CGuCAD/Beispiele/ArxProjectHelloWorld/ArxProject/Debug/ArxProject.lib diff --git a/Master/CGuCAD/Beispiele/ArxProjectHelloWorld/ArxProject/Debug/ArxProject.pch b/Master/CGuCAD/Beispiele/ArxProjectHelloWorld/ArxProject/Debug/ArxProject.pch Binary files differnew file mode 100644 index 0000000..4fd8625 --- /dev/null +++ b/Master/CGuCAD/Beispiele/ArxProjectHelloWorld/ArxProject/Debug/ArxProject.pch diff --git a/Master/CGuCAD/Beispiele/ArxProjectHelloWorld/ArxProject/Debug/ArxProject.pdb b/Master/CGuCAD/Beispiele/ArxProjectHelloWorld/ArxProject/Debug/ArxProject.pdb Binary files differnew file mode 100644 index 0000000..9105627 --- /dev/null +++ b/Master/CGuCAD/Beispiele/ArxProjectHelloWorld/ArxProject/Debug/ArxProject.pdb diff --git a/Master/CGuCAD/Beispiele/ArxProjectHelloWorld/ArxProject/Debug/ArxProject.res b/Master/CGuCAD/Beispiele/ArxProjectHelloWorld/ArxProject/Debug/ArxProject.res Binary files differnew file mode 100644 index 0000000..57e09d8 --- /dev/null +++ b/Master/CGuCAD/Beispiele/ArxProjectHelloWorld/ArxProject/Debug/ArxProject.res diff --git a/Master/CGuCAD/Beispiele/ArxProjectHelloWorld/ArxProject/Debug/BuildLog.htm b/Master/CGuCAD/Beispiele/ArxProjectHelloWorld/ArxProject/Debug/BuildLog.htm Binary files differnew file mode 100644 index 0000000..7950bca --- /dev/null +++ b/Master/CGuCAD/Beispiele/ArxProjectHelloWorld/ArxProject/Debug/BuildLog.htm diff --git a/Master/CGuCAD/Beispiele/ArxProjectHelloWorld/ArxProject/Debug/HelloWorld.obj b/Master/CGuCAD/Beispiele/ArxProjectHelloWorld/ArxProject/Debug/HelloWorld.obj Binary files differnew file mode 100644 index 0000000..bad48a2 --- /dev/null +++ b/Master/CGuCAD/Beispiele/ArxProjectHelloWorld/ArxProject/Debug/HelloWorld.obj diff --git a/Master/CGuCAD/Beispiele/ArxProjectHelloWorld/ArxProject/Debug/mt.dep b/Master/CGuCAD/Beispiele/ArxProjectHelloWorld/ArxProject/Debug/mt.dep new file mode 100644 index 0000000..df78948 --- /dev/null +++ b/Master/CGuCAD/Beispiele/ArxProjectHelloWorld/ArxProject/Debug/mt.dep @@ -0,0 +1 @@ + die Manifestressource wurde zuletzt um 12:30:58,00 am 19.03.2007 aktualisiert
diff --git a/Master/CGuCAD/Beispiele/ArxProjectHelloWorld/ArxProject/Debug/vc80.idb b/Master/CGuCAD/Beispiele/ArxProjectHelloWorld/ArxProject/Debug/vc80.idb Binary files differnew file mode 100644 index 0000000..0067c54 --- /dev/null +++ b/Master/CGuCAD/Beispiele/ArxProjectHelloWorld/ArxProject/Debug/vc80.idb diff --git a/Master/CGuCAD/Beispiele/ArxProjectHelloWorld/ArxProject/Debug/vc80.pdb b/Master/CGuCAD/Beispiele/ArxProjectHelloWorld/ArxProject/Debug/vc80.pdb Binary files differnew file mode 100644 index 0000000..445458a --- /dev/null +++ b/Master/CGuCAD/Beispiele/ArxProjectHelloWorld/ArxProject/Debug/vc80.pdb diff --git a/Master/CGuCAD/Beispiele/ArxProjectHelloWorld/ArxProject/DocData.h b/Master/CGuCAD/Beispiele/ArxProjectHelloWorld/ArxProject/DocData.h new file mode 100644 index 0000000..d466dd4 --- /dev/null +++ b/Master/CGuCAD/Beispiele/ArxProjectHelloWorld/ArxProject/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/ArxProjectHelloWorld/ArxProject/HelloWorld.cpp b/Master/CGuCAD/Beispiele/ArxProjectHelloWorld/ArxProject/HelloWorld.cpp new file mode 100644 index 0000000..90b1ea4 --- /dev/null +++ b/Master/CGuCAD/Beispiele/ArxProjectHelloWorld/ArxProject/HelloWorld.cpp @@ -0,0 +1,44 @@ +#include "stdafx.h"
+#include <aced.h>
+#include <rxregsvc.h>
+
+void initApp();
+void unloadApp();
+
+void helloWorld();
+
+void initApp()
+{
+// register a command with the AutoCAD command mechanism
+acedRegCmds->addCommand(_T("HELLOWORLD_COMMANDS"),
+ _T("Hello"),
+ _T("GutenTag"),
+ ACRX_CMD_TRANSPARENT,
+ helloWorld);
+}
+
+void unloadApp()
+{
+acedRegCmds->removeGroup(_T("HELLOWORLD_COMMANDS"));
+}
+
+void helloWorld()
+{
+acutPrintf(_T("\nHello World!"));
+}
+
+extern "C" AcRx::AppRetCode acrxEntryPoint(AcRx::AppMsgCode msg, void* pkt)
+{
+ switch (msg)
+ {
+ case AcRx::kInitAppMsg: acrxDynamicLinker->unlockApplication(pkt);
+ acrxRegisterAppMDIAware(pkt);
+ initApp();
+ break;
+ case AcRx::kUnloadAppMsg: unloadApp();
+ break;
+ default: break;
+ }
+ return AcRx::kRetOK;
+}
+
diff --git a/Master/CGuCAD/Beispiele/ArxProjectHelloWorld/ArxProject/Resource.h b/Master/CGuCAD/Beispiele/ArxProjectHelloWorld/ArxProject/Resource.h new file mode 100644 index 0000000..523adad --- /dev/null +++ b/Master/CGuCAD/Beispiele/ArxProjectHelloWorld/ArxProject/Resource.h @@ -0,0 +1,16 @@ +//{{NO_DEPENDENCIES}}
+// Microsoft Visual C++ generated include file.
+// Used by ArxProject.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/ArxProjectHelloWorld/ArxProject/StdAfx.h b/Master/CGuCAD/Beispiele/ArxProjectHelloWorld/ArxProject/StdAfx.h new file mode 100644 index 0000000..a6c2d9b --- /dev/null +++ b/Master/CGuCAD/Beispiele/ArxProjectHelloWorld/ArxProject/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 <map>
+
+//-----------------------------------------------------------------------------
+#include <afxwin.h> //- MFC core and standard components
+#include <afxext.h> //- MFC extensions
+
+#ifndef _AFX_NO_OLE_SUPPORT
+#include <afxole.h> //- MFC OLE classes
+#include <afxodlgs.h> //- MFC OLE dialog classes
+#include <afxdisp.h> //- MFC Automation classes
+#endif // _AFX_NO_OLE_SUPPORT
+
+#ifndef _AFX_NO_DB_SUPPORT
+#include <afxdb.h> //- MFC ODBC database classes
+#endif // _AFX_NO_DB_SUPPORT
+
+#ifndef _AFX_NO_DAO_SUPPORT
+#include <afxdao.h> //- MFC DAO database classes
+#endif // _AFX_NO_DAO_SUPPORT
+
+#include <afxdtctl.h> //- MFC support for Internet Explorer 4 Common Controls
+#ifndef _AFX_NO_AFXCMN_SUPPORT
+#include <afxcmn.h> //- 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<CDocData> DocVars ;
+
+#pragma pack (pop)
+
diff --git a/Master/CGuCAD/Beispiele/Make2Red/Make2Red.ncb b/Master/CGuCAD/Beispiele/Make2Red/Make2Red.ncb Binary files differnew file mode 100644 index 0000000..57fafbd --- /dev/null +++ b/Master/CGuCAD/Beispiele/Make2Red/Make2Red.ncb diff --git a/Master/CGuCAD/Beispiele/Make2Red/Make2Red.sln b/Master/CGuCAD/Beispiele/Make2Red/Make2Red.sln new file mode 100644 index 0000000..fb06b4c --- /dev/null +++ b/Master/CGuCAD/Beispiele/Make2Red/Make2Red.sln @@ -0,0 +1,20 @@ +
+Microsoft Visual Studio Solution File, Format Version 9.00
+# Visual Studio 2005
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Make2Red", "Make2Red\Make2Red.vcproj", "{344E9064-BE87-4416-B51A-CC086C213A54}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Win32 = Debug|Win32
+ Release|Win32 = Release|Win32
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {344E9064-BE87-4416-B51A-CC086C213A54}.Debug|Win32.ActiveCfg = Debug|Win32
+ {344E9064-BE87-4416-B51A-CC086C213A54}.Debug|Win32.Build.0 = Debug|Win32
+ {344E9064-BE87-4416-B51A-CC086C213A54}.Release|Win32.ActiveCfg = Release|Win32
+ {344E9064-BE87-4416-B51A-CC086C213A54}.Release|Win32.Build.0 = Release|Win32
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+EndGlobal
diff --git a/Master/CGuCAD/Beispiele/Make2Red/Make2Red.suo b/Master/CGuCAD/Beispiele/Make2Red/Make2Red.suo Binary files differnew file mode 100644 index 0000000..241ce87 --- /dev/null +++ b/Master/CGuCAD/Beispiele/Make2Red/Make2Red.suo diff --git a/Master/CGuCAD/Beispiele/Make2Red/Make2Red/Debug/BuildLog.htm b/Master/CGuCAD/Beispiele/Make2Red/Make2Red/Debug/BuildLog.htm Binary files differnew file mode 100644 index 0000000..05be4c3 --- /dev/null +++ b/Master/CGuCAD/Beispiele/Make2Red/Make2Red/Debug/BuildLog.htm diff --git a/Master/CGuCAD/Beispiele/Make2Red/Make2Red/Debug/CGCADMake2Red.arx b/Master/CGuCAD/Beispiele/Make2Red/Make2Red/Debug/CGCADMake2Red.arx Binary files differnew file mode 100644 index 0000000..881369a --- /dev/null +++ b/Master/CGuCAD/Beispiele/Make2Red/Make2Red/Debug/CGCADMake2Red.arx diff --git a/Master/CGuCAD/Beispiele/Make2Red/Make2Red/Debug/CGCADMake2Red.arx.embed.manifest b/Master/CGuCAD/Beispiele/Make2Red/Make2Red/Debug/CGCADMake2Red.arx.embed.manifest new file mode 100644 index 0000000..3a387b0 --- /dev/null +++ b/Master/CGuCAD/Beispiele/Make2Red/Make2Red/Debug/CGCADMake2Red.arx.embed.manifest @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
+ <dependency>
+ <dependentAssembly>
+ <assemblyIdentity type="win32" name="Microsoft.VC80.CRT" version="8.0.50727.762" processorArchitecture="x86" publicKeyToken="1fc8b3b9a1e18e3b"></assemblyIdentity>
+ </dependentAssembly>
+ </dependency>
+ <dependency>
+ <dependentAssembly>
+ <assemblyIdentity type="win32" name="Microsoft.VC80.MFC" version="8.0.50727.762" processorArchitecture="x86" publicKeyToken="1fc8b3b9a1e18e3b"></assemblyIdentity>
+ </dependentAssembly>
+ </dependency>
+ <dependency>
+ <dependentAssembly>
+ <assemblyIdentity type="win32" name="Microsoft.VC80.CRT" version="8.0.50608.0" processorArchitecture="x86" publicKeyToken="1fc8b3b9a1e18e3b"></assemblyIdentity>
+ </dependentAssembly>
+ </dependency>
+ <dependency>
+ <dependentAssembly>
+ <assemblyIdentity type="win32" name="Microsoft.VC80.MFC" version="8.0.50608.0" processorArchitecture="x86" publicKeyToken="1fc8b3b9a1e18e3b"></assemblyIdentity>
+ </dependentAssembly>
+ </dependency>
+</assembly>
\ No newline at end of file diff --git a/Master/CGuCAD/Beispiele/Make2Red/Make2Red/Debug/CGCADMake2Red.arx.embed.manifest.res b/Master/CGuCAD/Beispiele/Make2Red/Make2Red/Debug/CGCADMake2Red.arx.embed.manifest.res Binary files differnew file mode 100644 index 0000000..8d75e15 --- /dev/null +++ b/Master/CGuCAD/Beispiele/Make2Red/Make2Red/Debug/CGCADMake2Red.arx.embed.manifest.res diff --git a/Master/CGuCAD/Beispiele/Make2Red/Make2Red/Debug/CGCADMake2Red.arx.intermediate.manifest b/Master/CGuCAD/Beispiele/Make2Red/Make2Red/Debug/CGCADMake2Red.arx.intermediate.manifest new file mode 100644 index 0000000..0e2b419 --- /dev/null +++ b/Master/CGuCAD/Beispiele/Make2Red/Make2Red/Debug/CGCADMake2Red.arx.intermediate.manifest @@ -0,0 +1,23 @@ +<?xml version='1.0' encoding='UTF-8' standalone='yes'?>
+<assembly xmlns='urn:schemas-microsoft-com:asm.v1' manifestVersion='1.0'>
+ <dependency>
+ <dependentAssembly>
+ <assemblyIdentity type='win32' name='Microsoft.VC80.CRT' version='8.0.50727.762' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b' />
+ </dependentAssembly>
+ </dependency>
+ <dependency>
+ <dependentAssembly>
+ <assemblyIdentity type='win32' name='Microsoft.VC80.MFC' version='8.0.50727.762' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b' />
+ </dependentAssembly>
+ </dependency>
+ <dependency>
+ <dependentAssembly>
+ <assemblyIdentity type='win32' name='Microsoft.VC80.CRT' version='8.0.50608.0' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b' />
+ </dependentAssembly>
+ </dependency>
+ <dependency>
+ <dependentAssembly>
+ <assemblyIdentity type='win32' name='Microsoft.VC80.MFC' version='8.0.50608.0' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b' />
+ </dependentAssembly>
+ </dependency>
+</assembly>
diff --git a/Master/CGuCAD/Beispiele/Make2Red/Make2Red/Debug/CGCADMake2Red.ilk b/Master/CGuCAD/Beispiele/Make2Red/Make2Red/Debug/CGCADMake2Red.ilk Binary files differnew file mode 100644 index 0000000..e1c9144 --- /dev/null +++ b/Master/CGuCAD/Beispiele/Make2Red/Make2Red/Debug/CGCADMake2Red.ilk diff --git a/Master/CGuCAD/Beispiele/Make2Red/Make2Red/Debug/CGCADMake2Red.pch b/Master/CGuCAD/Beispiele/Make2Red/Make2Red/Debug/CGCADMake2Red.pch Binary files differnew file mode 100644 index 0000000..20ac644 --- /dev/null +++ b/Master/CGuCAD/Beispiele/Make2Red/Make2Red/Debug/CGCADMake2Red.pch diff --git a/Master/CGuCAD/Beispiele/Make2Red/Make2Red/Debug/DocData.obj b/Master/CGuCAD/Beispiele/Make2Red/Make2Red/Debug/DocData.obj Binary files differnew file mode 100644 index 0000000..49de43a --- /dev/null +++ b/Master/CGuCAD/Beispiele/Make2Red/Make2Red/Debug/DocData.obj diff --git a/Master/CGuCAD/Beispiele/Make2Red/Make2Red/Debug/Make2Red.exp b/Master/CGuCAD/Beispiele/Make2Red/Make2Red/Debug/Make2Red.exp Binary files differnew file mode 100644 index 0000000..3785a20 --- /dev/null +++ b/Master/CGuCAD/Beispiele/Make2Red/Make2Red/Debug/Make2Red.exp diff --git a/Master/CGuCAD/Beispiele/Make2Red/Make2Red/Debug/Make2Red.lib b/Master/CGuCAD/Beispiele/Make2Red/Make2Red/Debug/Make2Red.lib Binary files differnew file mode 100644 index 0000000..b242b75 --- /dev/null +++ b/Master/CGuCAD/Beispiele/Make2Red/Make2Red/Debug/Make2Red.lib diff --git a/Master/CGuCAD/Beispiele/Make2Red/Make2Red/Debug/Make2Red.obj b/Master/CGuCAD/Beispiele/Make2Red/Make2Red/Debug/Make2Red.obj Binary files differnew file mode 100644 index 0000000..355d6ad --- /dev/null +++ b/Master/CGuCAD/Beispiele/Make2Red/Make2Red/Debug/Make2Red.obj diff --git a/Master/CGuCAD/Beispiele/Make2Red/Make2Red/Debug/Make2Red.pdb b/Master/CGuCAD/Beispiele/Make2Red/Make2Red/Debug/Make2Red.pdb Binary files differnew file mode 100644 index 0000000..5547313 --- /dev/null +++ b/Master/CGuCAD/Beispiele/Make2Red/Make2Red/Debug/Make2Red.pdb diff --git a/Master/CGuCAD/Beispiele/Make2Red/Make2Red/Debug/Make2Red.res b/Master/CGuCAD/Beispiele/Make2Red/Make2Red/Debug/Make2Red.res Binary files differnew file mode 100644 index 0000000..519b8f9 --- /dev/null +++ b/Master/CGuCAD/Beispiele/Make2Red/Make2Red/Debug/Make2Red.res diff --git a/Master/CGuCAD/Beispiele/Make2Red/Make2Red/Debug/StdAfx.obj b/Master/CGuCAD/Beispiele/Make2Red/Make2Red/Debug/StdAfx.obj Binary files differnew file mode 100644 index 0000000..266a116 --- /dev/null +++ b/Master/CGuCAD/Beispiele/Make2Red/Make2Red/Debug/StdAfx.obj diff --git a/Master/CGuCAD/Beispiele/Make2Red/Make2Red/Debug/acrxEntryPoint.obj b/Master/CGuCAD/Beispiele/Make2Red/Make2Red/Debug/acrxEntryPoint.obj Binary files differnew file mode 100644 index 0000000..7573a71 --- /dev/null +++ b/Master/CGuCAD/Beispiele/Make2Red/Make2Red/Debug/acrxEntryPoint.obj diff --git a/Master/CGuCAD/Beispiele/Make2Red/Make2Red/Debug/mt.dep b/Master/CGuCAD/Beispiele/Make2Red/Make2Red/Debug/mt.dep new file mode 100644 index 0000000..57cda18 --- /dev/null +++ b/Master/CGuCAD/Beispiele/Make2Red/Make2Red/Debug/mt.dep @@ -0,0 +1 @@ + die Manifestressource wurde zuletzt um 19:21:37,09 am 27.03.2007 aktualisiert
diff --git a/Master/CGuCAD/Beispiele/Make2Red/Make2Red/Debug/vc80.idb b/Master/CGuCAD/Beispiele/Make2Red/Make2Red/Debug/vc80.idb Binary files differnew file mode 100644 index 0000000..9a5ed1a --- /dev/null +++ b/Master/CGuCAD/Beispiele/Make2Red/Make2Red/Debug/vc80.idb diff --git a/Master/CGuCAD/Beispiele/Make2Red/Make2Red/Debug/vc80.pdb b/Master/CGuCAD/Beispiele/Make2Red/Make2Red/Debug/vc80.pdb Binary files differnew file mode 100644 index 0000000..09d6882 --- /dev/null +++ b/Master/CGuCAD/Beispiele/Make2Red/Make2Red/Debug/vc80.pdb diff --git a/Master/CGuCAD/Beispiele/Make2Red/Make2Red/DocData.cpp b/Master/CGuCAD/Beispiele/Make2Red/Make2Red/DocData.cpp new file mode 100644 index 0000000..7429228 --- /dev/null +++ b/Master/CGuCAD/Beispiele/Make2Red/Make2Red/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<CDocData> DocVars ;
+
+//-----------------------------------------------------------------------------
+//----- Implementation of the document data class.
+CDocData::CDocData () {
+}
+
+//-----------------------------------------------------------------------------
+CDocData::CDocData (const CDocData &data) {
+}
+
+//-----------------------------------------------------------------------------
+CDocData::~CDocData () {
+}
diff --git a/Master/CGuCAD/Beispiele/Make2Red/Make2Red/DocData.h b/Master/CGuCAD/Beispiele/Make2Red/Make2Red/DocData.h new file mode 100644 index 0000000..d466dd4 --- /dev/null +++ b/Master/CGuCAD/Beispiele/Make2Red/Make2Red/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/Make2Red/Make2Red/Make2Red.cpp b/Master/CGuCAD/Beispiele/Make2Red/Make2Red/Make2Red.cpp new file mode 100644 index 0000000..0a186e8 --- /dev/null +++ b/Master/CGuCAD/Beispiele/Make2Red/Make2Red/Make2Red.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.
+//
+
+//-----------------------------------------------------------------------------
+//- Make2Red.cpp : Initialization functions
+//-----------------------------------------------------------------------------
+#include "StdAfx.h"
+#include "resource.h"
+#include <afxdllx.h>
+
+//-----------------------------------------------------------------------------
+//- Define the sole extension module object.
+AC_IMPLEMENT_EXTENSION_MODULE(Make2RedDLL)
+//- 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 Make2RedExtDLL ={ 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 ;
+ Make2RedDLL.AttachInstance (hInstance) ;
+ InitAcUiDLL () ;
+ } else if ( dwReason == DLL_PROCESS_DETACH ) {
+ Make2RedDLL.DetachInstance () ;
+ }
+ return (TRUE) ;
+}
+
diff --git a/Master/CGuCAD/Beispiele/Make2Red/Make2Red/Make2Red.rc b/Master/CGuCAD/Beispiele/Make2Red/Make2Red/Make2Red.rc new file mode 100644 index 0000000..60bd59f --- /dev/null +++ b/Master/CGuCAD/Beispiele/Make2Red/Make2Red/Make2Red.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", "Make2Red ObjectARX application\0"
+ VALUE "FileVersion", "1, 0, 0, 1\0"
+ VALUE "InternalName", "Make2Red\0"
+ VALUE "LegalCopyright", "Copyright © 2002\0"
+ VALUE "OriginalFilename", "CGCADMake2Red.arx\0"
+ VALUE "ProductName", "Make2Red 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 "Make2Red"
+END
+
+
+
+/////////////////////////////////////////////////////////////////////////////
+
+#ifndef APSTUDIO_INVOKED
+/////////////////////////////////////////////////////////////////////////////
+//
+// Generated from the TEXTINCLUDE 3 resource.
+//
+/////////////////////////////////////////////////////////////////////////////
+#endif // not APSTUDIO_INVOKED
+
diff --git a/Master/CGuCAD/Beispiele/Make2Red/Make2Red/Make2Red.vcproj b/Master/CGuCAD/Beispiele/Make2Red/Make2Red/Make2Red.vcproj new file mode 100644 index 0000000..d86c35b --- /dev/null +++ b/Master/CGuCAD/Beispiele/Make2Red/Make2Red/Make2Red.vcproj @@ -0,0 +1,269 @@ +<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+ ProjectType="Visual C++"
+ Version="8,00"
+ Name="Make2Red"
+ ProjectGUID="{344E9064-BE87-4416-B51A-CC086C213A54}"
+ >
+ <Platforms>
+ <Platform
+ Name="Win32"
+ />
+ </Platforms>
+ <ToolFiles>
+ </ToolFiles>
+ <Configurations>
+ <Configuration
+ Name="Debug|Win32"
+ OutputDirectory="Debug"
+ IntermediateDirectory="Debug"
+ ConfigurationType="2"
+ UseOfMFC="2"
+ CharacterSet="1"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="0"
+ AdditionalUsingDirectories="E:\CAD\AutoCAD 2007"
+ PreprocessorDefinitions="WIN32;_WINDOWS;MAKE2RED_MODULE;_AFXEXT;_ACRXAPP"
+ StringPooling="false"
+ MinimalRebuild="true"
+ BasicRuntimeChecks="3"
+ RuntimeLibrary="2"
+ BufferSecurityCheck="true"
+ TreatWChar_tAsBuiltInType="true"
+ ForceConformanceInForLoopScope="true"
+ RuntimeTypeInfo="true"
+ UsePrecompiledHeader="2"
+ WarningLevel="1"
+ Detect64BitPortabilityProblems="true"
+ DebugInformationFormat="4"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ PreprocessorDefinitions=""
+ Culture="1033"
+ AdditionalIncludeDirectories="$(IntDir)"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ OutputFile="$(outdir)/CGCADMake2Red.arx"
+ LinkIncremental="2"
+ LinkDLL="true"
+ GenerateDebugInformation="true"
+ ProgramDatabaseFile="$(OutDir)/Make2Red.pdb"
+ SubSystem="2"
+ ImportLibrary="$(OutDir)/Make2Red.lib"
+ TargetMachine="1"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCWebDeploymentTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ <Configuration
+ Name="Release|Win32"
+ OutputDirectory="Release"
+ IntermediateDirectory="Release"
+ ConfigurationType="2"
+ UseOfMFC="2"
+ CharacterSet="1"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="2"
+ AdditionalUsingDirectories="E:\CAD\AutoCAD 2007"
+ PreprocessorDefinitions="WIN32;_WINDOWS;NDEBUG;MAKE2RED_MODULE;;_AFXEXT;_ACRXAPP"
+ StringPooling="true"
+ MinimalRebuild="false"
+ BasicRuntimeChecks="0"
+ RuntimeLibrary="2"
+ BufferSecurityCheck="true"
+ TreatWChar_tAsBuiltInType="true"
+ ForceConformanceInForLoopScope="true"
+ RuntimeTypeInfo="true"
+ UsePrecompiledHeader="2"
+ WarningLevel="1"
+ Detect64BitPortabilityProblems="true"
+ DebugInformationFormat="0"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ PreprocessorDefinitions="NDEBUG"
+ Culture="1033"
+ AdditionalIncludeDirectories="$(IntDir)"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ OutputFile="$(outdir)/CGCADMake2Red.arx"
+ LinkIncremental="2"
+ LinkDLL="true"
+ GenerateDebugInformation="false"
+ ProgramDatabaseFile=""
+ SubSystem="2"
+ ImportLibrary="$(OutDir)/Make2Red.lib"
+ TargetMachine="1"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCWebDeploymentTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ </Configurations>
+ <References>
+ </References>
+ <Files>
+ <Filter
+ Name="Source Files"
+ Filter="cpp;c;cc;cxx;def;idl;odl"
+ >
+ <File
+ RelativePath=".\acrxEntryPoint.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\DocData.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\Make2Red.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\StdAfx.cpp"
+ >
+ <FileConfiguration
+ Name="Debug|Win32"
+ >
+ <Tool
+ Name="VCCLCompilerTool"
+ UsePrecompiledHeader="1"
+ />
+ </FileConfiguration>
+ <FileConfiguration
+ Name="Release|Win32"
+ >
+ <Tool
+ Name="VCCLCompilerTool"
+ UsePrecompiledHeader="1"
+ />
+ </FileConfiguration>
+ </File>
+ </Filter>
+ <Filter
+ Name="Include Files"
+ Filter="h;hh;hxx"
+ >
+ <File
+ RelativePath=".\DocData.h"
+ >
+ </File>
+ <File
+ RelativePath=".\Resource.h"
+ >
+ </File>
+ <File
+ RelativePath=".\StdAfx.h"
+ >
+ </File>
+ </Filter>
+ <Filter
+ Name="Resource Files"
+ Filter="rc;ico;bmp;cur;jpg;gif"
+ >
+ <File
+ RelativePath=".\Make2Red.rc"
+ >
+ </File>
+ </Filter>
+ <Filter
+ Name="Miscellaneous Files"
+ Filter="reg;rgs;mak;clw;vsdir;vsz;css;inf;vcproj;csproj"
+ >
+ </Filter>
+ </Files>
+ <Globals>
+ </Globals>
+</VisualStudioProject>
diff --git a/Master/CGuCAD/Beispiele/Make2Red/Make2Red/Make2Red.vcproj.PC3000-ER.Stefan Wiesmann.user b/Master/CGuCAD/Beispiele/Make2Red/Make2Red/Make2Red.vcproj.PC3000-ER.Stefan Wiesmann.user new file mode 100644 index 0000000..3cf2b5e --- /dev/null +++ b/Master/CGuCAD/Beispiele/Make2Red/Make2Red/Make2Red.vcproj.PC3000-ER.Stefan Wiesmann.user @@ -0,0 +1,65 @@ +<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioUserFile
+ ProjectType="Visual C++"
+ Version="8,00"
+ ShowAllFiles="false"
+ >
+ <Configurations>
+ <Configuration
+ Name="Debug|Win32"
+ >
+ <DebugSettings
+ Command="E:\CAD\AutoCAD 2007\acad.exe"
+ WorkingDirectory=""
+ CommandArguments=""
+ Attach="false"
+ DebuggerType="3"
+ Remote="1"
+ RemoteMachine="PC3000-ER"
+ RemoteCommand=""
+ HttpUrl=""
+ PDBPath=""
+ SQLDebugging=""
+ Environment=""
+ EnvironmentMerge="true"
+ DebuggerFlavor=""
+ MPIRunCommand=""
+ MPIRunArguments=""
+ MPIRunWorkingDirectory=""
+ ApplicationCommand=""
+ ApplicationArguments=""
+ ShimCommand=""
+ MPIAcceptMode=""
+ MPIAcceptFilter=""
+ />
+ </Configuration>
+ <Configuration
+ Name="Release|Win32"
+ >
+ <DebugSettings
+ Command="E:\CAD\AutoCAD 2007\acad.exe"
+ WorkingDirectory=""
+ CommandArguments=""
+ Attach="false"
+ DebuggerType="3"
+ Remote="1"
+ RemoteMachine="PC3000-ER"
+ RemoteCommand=""
+ HttpUrl=""
+ PDBPath=""
+ SQLDebugging=""
+ Environment=""
+ EnvironmentMerge="true"
+ DebuggerFlavor=""
+ MPIRunCommand=""
+ MPIRunArguments=""
+ MPIRunWorkingDirectory=""
+ ApplicationCommand=""
+ ApplicationArguments=""
+ ShimCommand=""
+ MPIAcceptMode=""
+ MPIAcceptFilter=""
+ />
+ </Configuration>
+ </Configurations>
+</VisualStudioUserFile>
diff --git a/Master/CGuCAD/Beispiele/Make2Red/Make2Red/Resource.h b/Master/CGuCAD/Beispiele/Make2Red/Make2Red/Resource.h new file mode 100644 index 0000000..1eb686f --- /dev/null +++ b/Master/CGuCAD/Beispiele/Make2Red/Make2Red/Resource.h @@ -0,0 +1,16 @@ +//{{NO_DEPENDENCIES}}
+// Microsoft Visual C++ generated include file.
+// Used by Make2Red.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/Make2Red/Make2Red/StdAfx.cpp b/Master/CGuCAD/Beispiele/Make2Red/Make2Red/StdAfx.cpp new file mode 100644 index 0000000..26d0a6a --- /dev/null +++ b/Master/CGuCAD/Beispiele/Make2Red/Make2Red/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/Make2Red/Make2Red/StdAfx.h b/Master/CGuCAD/Beispiele/Make2Red/Make2Red/StdAfx.h new file mode 100644 index 0000000..a6c2d9b --- /dev/null +++ b/Master/CGuCAD/Beispiele/Make2Red/Make2Red/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 <map>
+
+//-----------------------------------------------------------------------------
+#include <afxwin.h> //- MFC core and standard components
+#include <afxext.h> //- MFC extensions
+
+#ifndef _AFX_NO_OLE_SUPPORT
+#include <afxole.h> //- MFC OLE classes
+#include <afxodlgs.h> //- MFC OLE dialog classes
+#include <afxdisp.h> //- MFC Automation classes
+#endif // _AFX_NO_OLE_SUPPORT
+
+#ifndef _AFX_NO_DB_SUPPORT
+#include <afxdb.h> //- MFC ODBC database classes
+#endif // _AFX_NO_DB_SUPPORT
+
+#ifndef _AFX_NO_DAO_SUPPORT
+#include <afxdao.h> //- MFC DAO database classes
+#endif // _AFX_NO_DAO_SUPPORT
+
+#include <afxdtctl.h> //- MFC support for Internet Explorer 4 Common Controls
+#ifndef _AFX_NO_AFXCMN_SUPPORT
+#include <afxcmn.h> //- 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<CDocData> DocVars ;
+
+#pragma pack (pop)
+
diff --git a/Master/CGuCAD/Beispiele/Make2Red/Make2Red/acrxEntryPoint.cpp b/Master/CGuCAD/Beispiele/Make2Red/Make2Red/acrxEntryPoint.cpp new file mode 100644 index 0000000..09f6405 --- /dev/null +++ b/Master/CGuCAD/Beispiele/Make2Red/Make2Red/acrxEntryPoint.cpp @@ -0,0 +1,95 @@ +// (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 CMake2RedApp : public AcRxArxApp {
+
+public:
+ CMake2RedApp () : 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 () {
+ }
+
+
+ // - CGCADMake2Red.make2red command (do not rename)
+ static void CGCADMake2Redmake2red(void)
+ {
+ // Add your code for command CGCADMake2Red.make2red here
+ ads_name ent;
+ ads_point pickpoint;
+
+ if(acedEntSel(_T("Choose a Entity:"), ent, pickpoint)!= Acad::eOk)
+ acutPrintf(_T("\nNo Entity picked!"));
+
+ AcDbObjectId id = AcDbObjectId::kNull;
+ if (acdbGetObjectId(id,ent) != Acad::eOk)
+ {
+ acutPrintf(_T("\nNo ID for this Entityname found"));
+ return;
+ }
+ AcDbEntity* pEnt = NULL;
+ if (acdbOpenAcDbEntity(pEnt,id,AcDb::kForWrite) != Acad::eOk)
+ {
+ acutPrintf(_T("\nNo Object for this ID found"));
+ return;
+ }
+ // Change color
+ pEnt->setColorIndex(1);
+ pEnt->close();
+ }
+};
+
+//-----------------------------------------------------------------------------
+IMPLEMENT_ARX_ENTRYPOINT(CMake2RedApp)
+
+ACED_ARXCOMMAND_ENTRY_AUTO(CMake2RedApp, CGCADMake2Red, make2red, macheRot, ACRX_CMD_TRANSPARENT, NULL)
diff --git a/Master/CGuCAD/Beispiele/Make2Red/Zeichnung1.dwg b/Master/CGuCAD/Beispiele/Make2Red/Zeichnung1.dwg Binary files differnew file mode 100644 index 0000000..0456a06 --- /dev/null +++ b/Master/CGuCAD/Beispiele/Make2Red/Zeichnung1.dwg diff --git a/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands.ncb b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands.ncb Binary files differnew file mode 100644 index 0000000..17ab4d3 --- /dev/null +++ b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands.ncb diff --git a/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands.sln b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands.sln new file mode 100644 index 0000000..16b2752 --- /dev/null +++ b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands.sln @@ -0,0 +1,20 @@ +
+Microsoft Visual Studio Solution File, Format Version 9.00
+# Visual Studio 2005
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "MakeCommands", "MakeCommands\MakeCommands.vcproj", "{38C5FC38-450A-4EF9-A3A6-8744DE94E98E}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Win32 = Debug|Win32
+ Release|Win32 = Release|Win32
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {38C5FC38-450A-4EF9-A3A6-8744DE94E98E}.Debug|Win32.ActiveCfg = Debug|Win32
+ {38C5FC38-450A-4EF9-A3A6-8744DE94E98E}.Debug|Win32.Build.0 = Debug|Win32
+ {38C5FC38-450A-4EF9-A3A6-8744DE94E98E}.Release|Win32.ActiveCfg = Release|Win32
+ {38C5FC38-450A-4EF9-A3A6-8744DE94E98E}.Release|Win32.Build.0 = Release|Win32
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+EndGlobal
diff --git a/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands.suo b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands.suo Binary files differnew file mode 100644 index 0000000..8829ff4 --- /dev/null +++ b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands.suo diff --git a/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/BuildLog.htm b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/BuildLog.htm Binary files differnew file mode 100644 index 0000000..1c73ad5 --- /dev/null +++ b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/BuildLog.htm diff --git a/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/CGCADMakeCommands.arx b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/CGCADMakeCommands.arx Binary files differnew file mode 100644 index 0000000..bfef9f5 --- /dev/null +++ b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/CGCADMakeCommands.arx diff --git a/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/CGCADMakeCommands.arx.embed.manifest b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/CGCADMakeCommands.arx.embed.manifest new file mode 100644 index 0000000..3a387b0 --- /dev/null +++ b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/CGCADMakeCommands.arx.embed.manifest @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
+ <dependency>
+ <dependentAssembly>
+ <assemblyIdentity type="win32" name="Microsoft.VC80.CRT" version="8.0.50727.762" processorArchitecture="x86" publicKeyToken="1fc8b3b9a1e18e3b"></assemblyIdentity>
+ </dependentAssembly>
+ </dependency>
+ <dependency>
+ <dependentAssembly>
+ <assemblyIdentity type="win32" name="Microsoft.VC80.MFC" version="8.0.50727.762" processorArchitecture="x86" publicKeyToken="1fc8b3b9a1e18e3b"></assemblyIdentity>
+ </dependentAssembly>
+ </dependency>
+ <dependency>
+ <dependentAssembly>
+ <assemblyIdentity type="win32" name="Microsoft.VC80.CRT" version="8.0.50608.0" processorArchitecture="x86" publicKeyToken="1fc8b3b9a1e18e3b"></assemblyIdentity>
+ </dependentAssembly>
+ </dependency>
+ <dependency>
+ <dependentAssembly>
+ <assemblyIdentity type="win32" name="Microsoft.VC80.MFC" version="8.0.50608.0" processorArchitecture="x86" publicKeyToken="1fc8b3b9a1e18e3b"></assemblyIdentity>
+ </dependentAssembly>
+ </dependency>
+</assembly>
\ No newline at end of file diff --git a/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/CGCADMakeCommands.arx.embed.manifest.res b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/CGCADMakeCommands.arx.embed.manifest.res Binary files differnew file mode 100644 index 0000000..8d75e15 --- /dev/null +++ b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/CGCADMakeCommands.arx.embed.manifest.res diff --git a/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/CGCADMakeCommands.arx.intermediate.manifest b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/CGCADMakeCommands.arx.intermediate.manifest new file mode 100644 index 0000000..0e2b419 --- /dev/null +++ b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/CGCADMakeCommands.arx.intermediate.manifest @@ -0,0 +1,23 @@ +<?xml version='1.0' encoding='UTF-8' standalone='yes'?>
+<assembly xmlns='urn:schemas-microsoft-com:asm.v1' manifestVersion='1.0'>
+ <dependency>
+ <dependentAssembly>
+ <assemblyIdentity type='win32' name='Microsoft.VC80.CRT' version='8.0.50727.762' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b' />
+ </dependentAssembly>
+ </dependency>
+ <dependency>
+ <dependentAssembly>
+ <assemblyIdentity type='win32' name='Microsoft.VC80.MFC' version='8.0.50727.762' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b' />
+ </dependentAssembly>
+ </dependency>
+ <dependency>
+ <dependentAssembly>
+ <assemblyIdentity type='win32' name='Microsoft.VC80.CRT' version='8.0.50608.0' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b' />
+ </dependentAssembly>
+ </dependency>
+ <dependency>
+ <dependentAssembly>
+ <assemblyIdentity type='win32' name='Microsoft.VC80.MFC' version='8.0.50608.0' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b' />
+ </dependentAssembly>
+ </dependency>
+</assembly>
diff --git a/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/CGCADMakeCommands.ilk b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/CGCADMakeCommands.ilk Binary files differnew file mode 100644 index 0000000..7e5fb93 --- /dev/null +++ b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/CGCADMakeCommands.ilk diff --git a/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/CGCADMakeCommands.pch b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/CGCADMakeCommands.pch Binary files differnew file mode 100644 index 0000000..826e849 --- /dev/null +++ b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/CGCADMakeCommands.pch diff --git a/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/DocData.obj b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/DocData.obj Binary files differnew file mode 100644 index 0000000..09e5c2e --- /dev/null +++ b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/DocData.obj diff --git a/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/MakeCommands.exp b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/MakeCommands.exp Binary files differnew file mode 100644 index 0000000..7dfa6b0 --- /dev/null +++ b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/MakeCommands.exp diff --git a/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/MakeCommands.lib b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/MakeCommands.lib Binary files differnew file mode 100644 index 0000000..1f04ace --- /dev/null +++ b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/MakeCommands.lib diff --git a/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/MakeCommands.obj b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/MakeCommands.obj Binary files differnew file mode 100644 index 0000000..f66655b --- /dev/null +++ b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/MakeCommands.obj diff --git a/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/MakeCommands.pdb b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/MakeCommands.pdb Binary files differnew file mode 100644 index 0000000..e9c60c0 --- /dev/null +++ b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/MakeCommands.pdb diff --git a/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/MakeCommands.res b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/MakeCommands.res Binary files differnew file mode 100644 index 0000000..a7792e8 --- /dev/null +++ b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/MakeCommands.res diff --git a/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/StdAfx.obj b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/StdAfx.obj Binary files differnew file mode 100644 index 0000000..555ed95 --- /dev/null +++ b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/StdAfx.obj diff --git a/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/acrxEntryPoint.obj b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/acrxEntryPoint.obj Binary files differnew file mode 100644 index 0000000..6cd8887 --- /dev/null +++ b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/acrxEntryPoint.obj diff --git a/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/mt.dep b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/mt.dep new file mode 100644 index 0000000..4c7ceb1 --- /dev/null +++ b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/mt.dep @@ -0,0 +1 @@ + die Manifestressource wurde zuletzt um 10:58:11,32 am 28.03.2007 aktualisiert
diff --git a/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/vc80.idb b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/vc80.idb Binary files differnew file mode 100644 index 0000000..6f6d3f9 --- /dev/null +++ b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/vc80.idb diff --git a/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/vc80.pdb b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/vc80.pdb Binary files differnew file mode 100644 index 0000000..b582b5b --- /dev/null +++ b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/vc80.pdb diff --git a/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/DocData.cpp b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/DocData.cpp new file mode 100644 index 0000000..7429228 --- /dev/null +++ b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/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<CDocData> DocVars ;
+
+//-----------------------------------------------------------------------------
+//----- Implementation of the document data class.
+CDocData::CDocData () {
+}
+
+//-----------------------------------------------------------------------------
+CDocData::CDocData (const CDocData &data) {
+}
+
+//-----------------------------------------------------------------------------
+CDocData::~CDocData () {
+}
diff --git a/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/DocData.h b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/DocData.h new file mode 100644 index 0000000..d466dd4 --- /dev/null +++ b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/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/MakeCommands/MakeCommands/MakeCommands.cpp b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/MakeCommands.cpp new file mode 100644 index 0000000..ce57f78 --- /dev/null +++ b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/MakeCommands.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.
+//
+
+//-----------------------------------------------------------------------------
+//- MakeCommands.cpp : Initialization functions
+//-----------------------------------------------------------------------------
+#include "StdAfx.h"
+#include "resource.h"
+#include <afxdllx.h>
+
+//-----------------------------------------------------------------------------
+//- Define the sole extension module object.
+AC_IMPLEMENT_EXTENSION_MODULE(MakeCommandsDLL)
+//- 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 MakeCommandsExtDLL ={ 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 ;
+ MakeCommandsDLL.AttachInstance (hInstance) ;
+ InitAcUiDLL () ;
+ } else if ( dwReason == DLL_PROCESS_DETACH ) {
+ MakeCommandsDLL.DetachInstance () ;
+ }
+ return (TRUE) ;
+}
+
diff --git a/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/MakeCommands.rc b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/MakeCommands.rc new file mode 100644 index 0000000..be34adc --- /dev/null +++ b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/MakeCommands.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", "MakeCommands ObjectARX application\0"
+ VALUE "FileVersion", "1, 0, 0, 1\0"
+ VALUE "InternalName", "MakeCommands\0"
+ VALUE "LegalCopyright", "Copyright © 2002\0"
+ VALUE "OriginalFilename", "CGCADMakeCommands.arx\0"
+ VALUE "ProductName", "MakeCommands 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 "MakeCommands"
+END
+
+
+
+/////////////////////////////////////////////////////////////////////////////
+
+#ifndef APSTUDIO_INVOKED
+/////////////////////////////////////////////////////////////////////////////
+//
+// Generated from the TEXTINCLUDE 3 resource.
+//
+/////////////////////////////////////////////////////////////////////////////
+#endif // not APSTUDIO_INVOKED
+
diff --git a/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/MakeCommands.vcproj b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/MakeCommands.vcproj new file mode 100644 index 0000000..4f69b4c --- /dev/null +++ b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/MakeCommands.vcproj @@ -0,0 +1,269 @@ +<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+ ProjectType="Visual C++"
+ Version="8,00"
+ Name="MakeCommands"
+ ProjectGUID="{38C5FC38-450A-4EF9-A3A6-8744DE94E98E}"
+ >
+ <Platforms>
+ <Platform
+ Name="Win32"
+ />
+ </Platforms>
+ <ToolFiles>
+ </ToolFiles>
+ <Configurations>
+ <Configuration
+ Name="Debug|Win32"
+ OutputDirectory="Debug"
+ IntermediateDirectory="Debug"
+ ConfigurationType="2"
+ UseOfMFC="2"
+ CharacterSet="1"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="0"
+ AdditionalUsingDirectories="E:\CAD\AutoCAD 2007"
+ PreprocessorDefinitions="WIN32;_WINDOWS;MAKECOMMANDS_MODULE;_AFXEXT;_ACRXAPP"
+ StringPooling="false"
+ MinimalRebuild="true"
+ BasicRuntimeChecks="3"
+ RuntimeLibrary="2"
+ BufferSecurityCheck="true"
+ TreatWChar_tAsBuiltInType="true"
+ ForceConformanceInForLoopScope="true"
+ RuntimeTypeInfo="true"
+ UsePrecompiledHeader="2"
+ WarningLevel="1"
+ Detect64BitPortabilityProblems="true"
+ DebugInformationFormat="4"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ PreprocessorDefinitions=""
+ Culture="1033"
+ AdditionalIncludeDirectories="$(IntDir)"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ OutputFile="$(outdir)/CGCADMakeCommands.arx"
+ LinkIncremental="2"
+ LinkDLL="true"
+ GenerateDebugInformation="true"
+ ProgramDatabaseFile="$(OutDir)/MakeCommands.pdb"
+ SubSystem="2"
+ ImportLibrary="$(OutDir)/MakeCommands.lib"
+ TargetMachine="1"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCWebDeploymentTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ <Configuration
+ Name="Release|Win32"
+ OutputDirectory="Release"
+ IntermediateDirectory="Release"
+ ConfigurationType="2"
+ UseOfMFC="2"
+ CharacterSet="1"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="2"
+ AdditionalUsingDirectories="E:\CAD\AutoCAD 2007"
+ PreprocessorDefinitions="WIN32;_WINDOWS;NDEBUG;MAKECOMMANDS_MODULE;;_AFXEXT;_ACRXAPP"
+ StringPooling="true"
+ MinimalRebuild="false"
+ BasicRuntimeChecks="0"
+ RuntimeLibrary="2"
+ BufferSecurityCheck="true"
+ TreatWChar_tAsBuiltInType="true"
+ ForceConformanceInForLoopScope="true"
+ RuntimeTypeInfo="true"
+ UsePrecompiledHeader="2"
+ WarningLevel="1"
+ Detect64BitPortabilityProblems="true"
+ DebugInformationFormat="0"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ PreprocessorDefinitions="NDEBUG"
+ Culture="1033"
+ AdditionalIncludeDirectories="$(IntDir)"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ OutputFile="$(outdir)/CGCADMakeCommands.arx"
+ LinkIncremental="2"
+ LinkDLL="true"
+ GenerateDebugInformation="false"
+ ProgramDatabaseFile=""
+ SubSystem="2"
+ ImportLibrary="$(OutDir)/MakeCommands.lib"
+ TargetMachine="1"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCWebDeploymentTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ </Configurations>
+ <References>
+ </References>
+ <Files>
+ <Filter
+ Name="Source Files"
+ Filter="cpp;c;cc;cxx;def;idl;odl"
+ >
+ <File
+ RelativePath=".\acrxEntryPoint.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\DocData.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\MakeCommands.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\StdAfx.cpp"
+ >
+ <FileConfiguration
+ Name="Debug|Win32"
+ >
+ <Tool
+ Name="VCCLCompilerTool"
+ UsePrecompiledHeader="1"
+ />
+ </FileConfiguration>
+ <FileConfiguration
+ Name="Release|Win32"
+ >
+ <Tool
+ Name="VCCLCompilerTool"
+ UsePrecompiledHeader="1"
+ />
+ </FileConfiguration>
+ </File>
+ </Filter>
+ <Filter
+ Name="Include Files"
+ Filter="h;hh;hxx"
+ >
+ <File
+ RelativePath=".\DocData.h"
+ >
+ </File>
+ <File
+ RelativePath=".\Resource.h"
+ >
+ </File>
+ <File
+ RelativePath=".\StdAfx.h"
+ >
+ </File>
+ </Filter>
+ <Filter
+ Name="Resource Files"
+ Filter="rc;ico;bmp;cur;jpg;gif"
+ >
+ <File
+ RelativePath=".\MakeCommands.rc"
+ >
+ </File>
+ </Filter>
+ <Filter
+ Name="Miscellaneous Files"
+ Filter="reg;rgs;mak;clw;vsdir;vsz;css;inf;vcproj;csproj"
+ >
+ </Filter>
+ </Files>
+ <Globals>
+ </Globals>
+</VisualStudioProject>
diff --git a/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/MakeCommands.vcproj.PC3000-ER.Stefan Wiesmann.user b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/MakeCommands.vcproj.PC3000-ER.Stefan Wiesmann.user new file mode 100644 index 0000000..3cf2b5e --- /dev/null +++ b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/MakeCommands.vcproj.PC3000-ER.Stefan Wiesmann.user @@ -0,0 +1,65 @@ +<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioUserFile
+ ProjectType="Visual C++"
+ Version="8,00"
+ ShowAllFiles="false"
+ >
+ <Configurations>
+ <Configuration
+ Name="Debug|Win32"
+ >
+ <DebugSettings
+ Command="E:\CAD\AutoCAD 2007\acad.exe"
+ WorkingDirectory=""
+ CommandArguments=""
+ Attach="false"
+ DebuggerType="3"
+ Remote="1"
+ RemoteMachine="PC3000-ER"
+ RemoteCommand=""
+ HttpUrl=""
+ PDBPath=""
+ SQLDebugging=""
+ Environment=""
+ EnvironmentMerge="true"
+ DebuggerFlavor=""
+ MPIRunCommand=""
+ MPIRunArguments=""
+ MPIRunWorkingDirectory=""
+ ApplicationCommand=""
+ ApplicationArguments=""
+ ShimCommand=""
+ MPIAcceptMode=""
+ MPIAcceptFilter=""
+ />
+ </Configuration>
+ <Configuration
+ Name="Release|Win32"
+ >
+ <DebugSettings
+ Command="E:\CAD\AutoCAD 2007\acad.exe"
+ WorkingDirectory=""
+ CommandArguments=""
+ Attach="false"
+ DebuggerType="3"
+ Remote="1"
+ RemoteMachine="PC3000-ER"
+ RemoteCommand=""
+ HttpUrl=""
+ PDBPath=""
+ SQLDebugging=""
+ Environment=""
+ EnvironmentMerge="true"
+ DebuggerFlavor=""
+ MPIRunCommand=""
+ MPIRunArguments=""
+ MPIRunWorkingDirectory=""
+ ApplicationCommand=""
+ ApplicationArguments=""
+ ShimCommand=""
+ MPIAcceptMode=""
+ MPIAcceptFilter=""
+ />
+ </Configuration>
+ </Configurations>
+</VisualStudioUserFile>
diff --git a/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Resource.h b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Resource.h new file mode 100644 index 0000000..bb17f48 --- /dev/null +++ b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Resource.h @@ -0,0 +1,16 @@ +//{{NO_DEPENDENCIES}}
+// Microsoft Visual C++ generated include file.
+// Used by MakeCommands.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/MakeCommands/MakeCommands/StdAfx.cpp b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/StdAfx.cpp new file mode 100644 index 0000000..26d0a6a --- /dev/null +++ b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/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/MakeCommands/MakeCommands/StdAfx.h b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/StdAfx.h new file mode 100644 index 0000000..a6c2d9b --- /dev/null +++ b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/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 <map>
+
+//-----------------------------------------------------------------------------
+#include <afxwin.h> //- MFC core and standard components
+#include <afxext.h> //- MFC extensions
+
+#ifndef _AFX_NO_OLE_SUPPORT
+#include <afxole.h> //- MFC OLE classes
+#include <afxodlgs.h> //- MFC OLE dialog classes
+#include <afxdisp.h> //- MFC Automation classes
+#endif // _AFX_NO_OLE_SUPPORT
+
+#ifndef _AFX_NO_DB_SUPPORT
+#include <afxdb.h> //- MFC ODBC database classes
+#endif // _AFX_NO_DB_SUPPORT
+
+#ifndef _AFX_NO_DAO_SUPPORT
+#include <afxdao.h> //- MFC DAO database classes
+#endif // _AFX_NO_DAO_SUPPORT
+
+#include <afxdtctl.h> //- MFC support for Internet Explorer 4 Common Controls
+#ifndef _AFX_NO_AFXCMN_SUPPORT
+#include <afxcmn.h> //- 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<CDocData> DocVars ;
+
+#pragma pack (pop)
+
diff --git a/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/acrxEntryPoint.cpp b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/acrxEntryPoint.cpp new file mode 100644 index 0000000..30955bf --- /dev/null +++ b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/acrxEntryPoint.cpp @@ -0,0 +1,124 @@ +// (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 CMakeCommandsApp : public AcRxArxApp {
+
+public:
+ CMakeCommandsApp () : 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 () {
+ }
+
+
+ // - CGCADMakeCommands.makeCommands command (do not rename)
+ static void CGCADMakeCommandsmakeCommands(void)
+ {
+ // Add your code for command CGCADMakeCommands.makeCommands here
+
+ struct resbuf OldOsnap, NewOsnap;
+ // Get current OSNAP
+ acedGetVar(_T("OSMODE"), &OldOsnap);
+ // Chage OSNAP settings
+ NewOsnap.restype = RTSHORT;
+ NewOsnap.resval.rint = 0;
+ acedSetVar(_T("OSMODE"), &NewOsnap);
+ // Do something...
+
+ //Get a user input for Point
+ ads_point pointResult, point;
+ point[X] = 100.;
+ point[Y] = 100.;
+ if (acedGetPoint(point, _T("Click a Point:"),pointResult) == RTNORM)
+ {
+ //Make a Circle and a Line
+ acedCommand(RTSTR, _T("_circle"), RTPOINT, pointResult, RTSTR, PAUSE,
+ RTSTR, _T("_line"), RTSTR, _T("150,150"), RTSTR, _T("20,20"), RTSTR, _T(""), 0);
+ }
+
+ // ZOOM-Command and wait for user input
+ acedCommand(RTSTR, _T("_zoom"), RTSTR, PAUSE, RTSTR, PAUSE, 0);
+
+ //Move the last Entity
+ ads_point pt;
+ pt[X] = pt[Y] = 20.;
+ pt[Z] = 0.0;
+ struct resbuf *myCom;
+ myCom = acutBuildList(RTSTR,_T("_MOVE"),RTSTR,_T("_LAST"),RTSTR,"",RTPOINT,pt,RTSTR,PAUSE,0);
+ acedCmd(myCom);
+ acedCommand(RTNONE);
+ acutRelRb(myCom);
+
+ // ... Get back the old OSNAP
+ acedSetVar(_T("OSMODE"), &OldOsnap);
+
+ //Change a sytem variable
+ struct resbuf rb, rb1;
+ acedGetVar(_T("FILLETRAD"), &rb);
+ rb1.restype = RTREAL;
+ rb1.resval.rreal = 1.0;
+ acedSetVar(_T("FILLETRAD"), &rb1);
+
+ // Call REDRAW
+ struct resbuf *cmdlist;
+ cmdlist = acutBuildList(RTSTR, _T("_REDRAW"), 0);
+ acedCmd(cmdlist);
+ acedCommand(RTNONE);
+ acutRelRb(cmdlist);
+ }
+} ;
+
+//-----------------------------------------------------------------------------
+IMPLEMENT_ARX_ENTRYPOINT(CMakeCommandsApp)
+
+ACED_ARXCOMMAND_ENTRY_AUTO(CMakeCommandsApp, CGCADMakeCommands, makeCommands, genKommando, ACRX_CMD_TRANSPARENT, NULL)
diff --git a/Master/CGuCAD/Beispiele/MyLine/MyLine.ncb b/Master/CGuCAD/Beispiele/MyLine/MyLine.ncb Binary files differnew file mode 100644 index 0000000..959e51f --- /dev/null +++ b/Master/CGuCAD/Beispiele/MyLine/MyLine.ncb 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 Binary files differnew file mode 100644 index 0000000..71242bd --- /dev/null +++ b/Master/CGuCAD/Beispiele/MyLine/MyLine.suo diff --git a/Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/BuildLog.htm b/Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/BuildLog.htm Binary files differnew file mode 100644 index 0000000..b43717b --- /dev/null +++ b/Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/BuildLog.htm diff --git a/Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/CGCADMyLine.arx b/Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/CGCADMyLine.arx Binary files differnew file mode 100644 index 0000000..6b23db6 --- /dev/null +++ b/Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/CGCADMyLine.arx 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 @@ +<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
+ <dependency>
+ <dependentAssembly>
+ <assemblyIdentity type="win32" name="Microsoft.VC80.CRT" version="8.0.50727.762" processorArchitecture="x86" publicKeyToken="1fc8b3b9a1e18e3b"></assemblyIdentity>
+ </dependentAssembly>
+ </dependency>
+ <dependency>
+ <dependentAssembly>
+ <assemblyIdentity type="win32" name="Microsoft.VC80.MFC" version="8.0.50727.762" processorArchitecture="x86" publicKeyToken="1fc8b3b9a1e18e3b"></assemblyIdentity>
+ </dependentAssembly>
+ </dependency>
+ <dependency>
+ <dependentAssembly>
+ <assemblyIdentity type="win32" name="Microsoft.VC80.CRT" version="8.0.50608.0" processorArchitecture="x86" publicKeyToken="1fc8b3b9a1e18e3b"></assemblyIdentity>
+ </dependentAssembly>
+ </dependency>
+ <dependency>
+ <dependentAssembly>
+ <assemblyIdentity type="win32" name="Microsoft.VC80.MFC" version="8.0.50608.0" processorArchitecture="x86" publicKeyToken="1fc8b3b9a1e18e3b"></assemblyIdentity>
+ </dependentAssembly>
+ </dependency>
+</assembly>
\ 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 Binary files differnew file mode 100644 index 0000000..8d75e15 --- /dev/null +++ b/Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/CGCADMyLine.arx.embed.manifest.res 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 @@ +<?xml version='1.0' encoding='UTF-8' standalone='yes'?>
+<assembly xmlns='urn:schemas-microsoft-com:asm.v1' manifestVersion='1.0'>
+ <dependency>
+ <dependentAssembly>
+ <assemblyIdentity type='win32' name='Microsoft.VC80.CRT' version='8.0.50727.762' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b' />
+ </dependentAssembly>
+ </dependency>
+ <dependency>
+ <dependentAssembly>
+ <assemblyIdentity type='win32' name='Microsoft.VC80.MFC' version='8.0.50727.762' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b' />
+ </dependentAssembly>
+ </dependency>
+ <dependency>
+ <dependentAssembly>
+ <assemblyIdentity type='win32' name='Microsoft.VC80.CRT' version='8.0.50608.0' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b' />
+ </dependentAssembly>
+ </dependency>
+ <dependency>
+ <dependentAssembly>
+ <assemblyIdentity type='win32' name='Microsoft.VC80.MFC' version='8.0.50608.0' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b' />
+ </dependentAssembly>
+ </dependency>
+</assembly>
diff --git a/Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/CGCADMyLine.ilk b/Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/CGCADMyLine.ilk Binary files differnew file mode 100644 index 0000000..3083116 --- /dev/null +++ b/Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/CGCADMyLine.ilk diff --git a/Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/CGCADMyLine.pch b/Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/CGCADMyLine.pch Binary files differnew file mode 100644 index 0000000..acf8ffd --- /dev/null +++ b/Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/CGCADMyLine.pch diff --git a/Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/DocData.obj b/Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/DocData.obj Binary files differnew file mode 100644 index 0000000..dfcb5b8 --- /dev/null +++ b/Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/DocData.obj diff --git a/Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/MyLine.exp b/Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/MyLine.exp Binary files differnew file mode 100644 index 0000000..edbeab3 --- /dev/null +++ b/Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/MyLine.exp diff --git a/Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/MyLine.lib b/Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/MyLine.lib Binary files differnew file mode 100644 index 0000000..5cf95e3 --- /dev/null +++ b/Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/MyLine.lib diff --git a/Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/MyLine.obj b/Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/MyLine.obj Binary files differnew file mode 100644 index 0000000..d8ab86a --- /dev/null +++ b/Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/MyLine.obj diff --git a/Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/MyLine.pdb b/Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/MyLine.pdb Binary files differnew file mode 100644 index 0000000..6933ffd --- /dev/null +++ b/Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/MyLine.pdb diff --git a/Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/MyLine.res b/Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/MyLine.res Binary files differnew file mode 100644 index 0000000..392bb7c --- /dev/null +++ b/Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/MyLine.res diff --git a/Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/StdAfx.obj b/Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/StdAfx.obj Binary files differnew file mode 100644 index 0000000..17d4d27 --- /dev/null +++ b/Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/StdAfx.obj diff --git a/Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/acrxEntryPoint.obj b/Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/acrxEntryPoint.obj Binary files differnew file mode 100644 index 0000000..5a48b0c --- /dev/null +++ b/Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/acrxEntryPoint.obj 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 Binary files differnew file mode 100644 index 0000000..7740636 --- /dev/null +++ b/Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/vc80.idb diff --git a/Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/vc80.pdb b/Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/vc80.pdb Binary files differnew file mode 100644 index 0000000..b25a03f --- /dev/null +++ b/Master/CGuCAD/Beispiele/MyLine/MyLine/Debug/vc80.pdb 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<CDocData> 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 <afxdllx.h>
+
+//-----------------------------------------------------------------------------
+//- 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 @@ +<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+ ProjectType="Visual C++"
+ Version="8,00"
+ Name="MyLine"
+ ProjectGUID="{36906AA5-2051-49DB-85F5-389B84795437}"
+ >
+ <Platforms>
+ <Platform
+ Name="Win32"
+ />
+ </Platforms>
+ <ToolFiles>
+ </ToolFiles>
+ <Configurations>
+ <Configuration
+ Name="Debug|Win32"
+ OutputDirectory="Debug"
+ IntermediateDirectory="Debug"
+ ConfigurationType="2"
+ UseOfMFC="2"
+ CharacterSet="1"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="0"
+ AdditionalUsingDirectories="E:\CAD\AutoCAD 2007"
+ PreprocessorDefinitions="WIN32;_WINDOWS;MYLINE_MODULE;_AFXEXT;_ACRXAPP"
+ StringPooling="false"
+ MinimalRebuild="true"
+ BasicRuntimeChecks="3"
+ RuntimeLibrary="2"
+ BufferSecurityCheck="true"
+ TreatWChar_tAsBuiltInType="true"
+ ForceConformanceInForLoopScope="true"
+ RuntimeTypeInfo="true"
+ UsePrecompiledHeader="2"
+ WarningLevel="1"
+ Detect64BitPortabilityProblems="true"
+ DebugInformationFormat="4"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ PreprocessorDefinitions=""
+ Culture="1033"
+ AdditionalIncludeDirectories="$(IntDir)"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ OutputFile="$(outdir)/CGCADMyLine.arx"
+ LinkIncremental="2"
+ LinkDLL="true"
+ GenerateDebugInformation="true"
+ ProgramDatabaseFile="$(OutDir)/MyLine.pdb"
+ SubSystem="2"
+ ImportLibrary="$(OutDir)/MyLine.lib"
+ TargetMachine="1"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCWebDeploymentTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ <Configuration
+ Name="Release|Win32"
+ OutputDirectory="Release"
+ IntermediateDirectory="Release"
+ ConfigurationType="2"
+ UseOfMFC="2"
+ CharacterSet="1"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="2"
+ AdditionalUsingDirectories="E:\CAD\AutoCAD 2007"
+ PreprocessorDefinitions="WIN32;_WINDOWS;NDEBUG;MYLINE_MODULE;;_AFXEXT;_ACRXAPP"
+ StringPooling="true"
+ MinimalRebuild="false"
+ BasicRuntimeChecks="0"
+ RuntimeLibrary="2"
+ BufferSecurityCheck="true"
+ TreatWChar_tAsBuiltInType="true"
+ ForceConformanceInForLoopScope="true"
+ RuntimeTypeInfo="true"
+ UsePrecompiledHeader="2"
+ WarningLevel="1"
+ Detect64BitPortabilityProblems="true"
+ DebugInformationFormat="0"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ PreprocessorDefinitions="NDEBUG"
+ Culture="1033"
+ AdditionalIncludeDirectories="$(IntDir)"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ OutputFile="$(outdir)/CGCADMyLine.arx"
+ LinkIncremental="2"
+ LinkDLL="true"
+ GenerateDebugInformation="false"
+ ProgramDatabaseFile=""
+ SubSystem="2"
+ ImportLibrary="$(OutDir)/MyLine.lib"
+ TargetMachine="1"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCWebDeploymentTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ </Configurations>
+ <References>
+ </References>
+ <Files>
+ <Filter
+ Name="Source Files"
+ Filter="cpp;c;cc;cxx;def;idl;odl"
+ >
+ <File
+ RelativePath=".\acrxEntryPoint.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\DocData.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\MyLine.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\StdAfx.cpp"
+ >
+ <FileConfiguration
+ Name="Debug|Win32"
+ >
+ <Tool
+ Name="VCCLCompilerTool"
+ UsePrecompiledHeader="1"
+ />
+ </FileConfiguration>
+ <FileConfiguration
+ Name="Release|Win32"
+ >
+ <Tool
+ Name="VCCLCompilerTool"
+ UsePrecompiledHeader="1"
+ />
+ </FileConfiguration>
+ </File>
+ </Filter>
+ <Filter
+ Name="Include Files"
+ Filter="h;hh;hxx"
+ >
+ <File
+ RelativePath=".\DocData.h"
+ >
+ </File>
+ <File
+ RelativePath=".\Resource.h"
+ >
+ </File>
+ <File
+ RelativePath=".\StdAfx.h"
+ >
+ </File>
+ </Filter>
+ <Filter
+ Name="Resource Files"
+ Filter="rc;ico;bmp;cur;jpg;gif"
+ >
+ <File
+ RelativePath=".\MyLine.rc"
+ >
+ </File>
+ </Filter>
+ <Filter
+ Name="Miscellaneous Files"
+ Filter="reg;rgs;mak;clw;vsdir;vsz;css;inf;vcproj;csproj"
+ >
+ </Filter>
+ </Files>
+ <Globals>
+ </Globals>
+</VisualStudioProject>
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 @@ +<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioUserFile
+ ProjectType="Visual C++"
+ Version="8,00"
+ ShowAllFiles="false"
+ >
+ <Configurations>
+ <Configuration
+ Name="Debug|Win32"
+ >
+ <DebugSettings
+ Command="E:\CAD\AutoCAD 2007\acad.exe"
+ WorkingDirectory=""
+ CommandArguments=""
+ Attach="false"
+ DebuggerType="3"
+ Remote="1"
+ RemoteMachine="PC3000-ER"
+ RemoteCommand=""
+ HttpUrl=""
+ PDBPath=""
+ SQLDebugging=""
+ Environment=""
+ EnvironmentMerge="true"
+ DebuggerFlavor=""
+ MPIRunCommand=""
+ MPIRunArguments=""
+ MPIRunWorkingDirectory=""
+ ApplicationCommand=""
+ ApplicationArguments=""
+ ShimCommand=""
+ MPIAcceptMode=""
+ MPIAcceptFilter=""
+ />
+ </Configuration>
+ <Configuration
+ Name="Release|Win32"
+ >
+ <DebugSettings
+ Command="E:\CAD\AutoCAD 2007\acad.exe"
+ WorkingDirectory=""
+ CommandArguments=""
+ Attach="false"
+ DebuggerType="3"
+ Remote="1"
+ RemoteMachine="PC3000-ER"
+ RemoteCommand=""
+ HttpUrl=""
+ PDBPath=""
+ SQLDebugging=""
+ Environment=""
+ EnvironmentMerge="true"
+ DebuggerFlavor=""
+ MPIRunCommand=""
+ MPIRunArguments=""
+ MPIRunWorkingDirectory=""
+ ApplicationCommand=""
+ ApplicationArguments=""
+ ShimCommand=""
+ MPIAcceptMode=""
+ MPIAcceptFilter=""
+ />
+ </Configuration>
+ </Configurations>
+</VisualStudioUserFile>
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 @@ +<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioUserFile
+ ProjectType="Visual C++"
+ Version="8,00"
+ ShowAllFiles="false"
+ >
+ <Configurations>
+ <Configuration
+ Name="Debug|Win32"
+ >
+ <DebugSettings
+ Command="C:\Programme\AutoCAD Civil 3D 2009\acad.exe"
+ WorkingDirectory=""
+ CommandArguments=""
+ Attach="false"
+ DebuggerType="3"
+ Remote="1"
+ RemoteMachine="NB-STUDI2"
+ RemoteCommand=""
+ HttpUrl=""
+ PDBPath=""
+ SQLDebugging=""
+ Environment=""
+ EnvironmentMerge="true"
+ DebuggerFlavor="0"
+ MPIRunCommand=""
+ MPIRunArguments=""
+ MPIRunWorkingDirectory=""
+ ApplicationCommand=""
+ ApplicationArguments=""
+ ShimCommand=""
+ MPIAcceptMode=""
+ MPIAcceptFilter=""
+ />
+ </Configuration>
+ <Configuration
+ Name="Release|Win32"
+ >
+ <DebugSettings
+ Command=""
+ WorkingDirectory=""
+ CommandArguments=""
+ Attach="false"
+ DebuggerType="3"
+ Remote="1"
+ RemoteMachine="NB-STUDI2"
+ RemoteCommand=""
+ HttpUrl=""
+ PDBPath=""
+ SQLDebugging=""
+ Environment=""
+ EnvironmentMerge="true"
+ DebuggerFlavor=""
+ MPIRunCommand=""
+ MPIRunArguments=""
+ MPIRunWorkingDirectory=""
+ ApplicationCommand=""
+ ApplicationArguments=""
+ ShimCommand=""
+ MPIAcceptMode=""
+ MPIAcceptFilter=""
+ />
+ </Configuration>
+ </Configurations>
+</VisualStudioUserFile>
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 <map>
+
+//-----------------------------------------------------------------------------
+#include <afxwin.h> //- MFC core and standard components
+#include <afxext.h> //- MFC extensions
+
+#ifndef _AFX_NO_OLE_SUPPORT
+#include <afxole.h> //- MFC OLE classes
+#include <afxodlgs.h> //- MFC OLE dialog classes
+#include <afxdisp.h> //- MFC Automation classes
+#endif // _AFX_NO_OLE_SUPPORT
+
+#ifndef _AFX_NO_DB_SUPPORT
+#include <afxdb.h> //- MFC ODBC database classes
+#endif // _AFX_NO_DB_SUPPORT
+
+#ifndef _AFX_NO_DAO_SUPPORT
+#include <afxdao.h> //- MFC DAO database classes
+#endif // _AFX_NO_DAO_SUPPORT
+
+#include <afxdtctl.h> //- MFC support for Internet Explorer 4 Common Controls
+#ifndef _AFX_NO_AFXCMN_SUPPORT
+#include <afxcmn.h> //- 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<CDocData> 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)
diff --git a/Master/CGuCAD/Beispiele/MyLineLayer/MyLineLayer.ncb b/Master/CGuCAD/Beispiele/MyLineLayer/MyLineLayer.ncb Binary files differnew file mode 100644 index 0000000..71f8fe2 --- /dev/null +++ b/Master/CGuCAD/Beispiele/MyLineLayer/MyLineLayer.ncb diff --git a/Master/CGuCAD/Beispiele/MyLineLayer/MyLineLayer.sln b/Master/CGuCAD/Beispiele/MyLineLayer/MyLineLayer.sln new file mode 100644 index 0000000..405128b --- /dev/null +++ b/Master/CGuCAD/Beispiele/MyLineLayer/MyLineLayer.sln @@ -0,0 +1,20 @@ +
+Microsoft Visual Studio Solution File, Format Version 9.00
+# Visual Studio 2005
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "MyLineLayer", "MyLineLayer\MyLineLayer.vcproj", "{745723E8-BAB7-45E8-850A-5B88263EE9AB}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Win32 = Debug|Win32
+ Release|Win32 = Release|Win32
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {745723E8-BAB7-45E8-850A-5B88263EE9AB}.Debug|Win32.ActiveCfg = Debug|Win32
+ {745723E8-BAB7-45E8-850A-5B88263EE9AB}.Debug|Win32.Build.0 = Debug|Win32
+ {745723E8-BAB7-45E8-850A-5B88263EE9AB}.Release|Win32.ActiveCfg = Release|Win32
+ {745723E8-BAB7-45E8-850A-5B88263EE9AB}.Release|Win32.Build.0 = Release|Win32
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+EndGlobal
diff --git a/Master/CGuCAD/Beispiele/MyLineLayer/MyLineLayer.suo b/Master/CGuCAD/Beispiele/MyLineLayer/MyLineLayer.suo Binary files differnew file mode 100644 index 0000000..6a1cbdb --- /dev/null +++ b/Master/CGuCAD/Beispiele/MyLineLayer/MyLineLayer.suo diff --git a/Master/CGuCAD/Beispiele/MyLineLayer/MyLineLayer/Debug/BuildLog.htm b/Master/CGuCAD/Beispiele/MyLineLayer/MyLineLayer/Debug/BuildLog.htm Binary files differnew file mode 100644 index 0000000..d8a0653 --- /dev/null +++ b/Master/CGuCAD/Beispiele/MyLineLayer/MyLineLayer/Debug/BuildLog.htm diff --git a/Master/CGuCAD/Beispiele/MyLineLayer/MyLineLayer/Debug/CGCADMyLineLayer.arx b/Master/CGuCAD/Beispiele/MyLineLayer/MyLineLayer/Debug/CGCADMyLineLayer.arx Binary files differnew file mode 100644 index 0000000..dbbf83f --- /dev/null +++ b/Master/CGuCAD/Beispiele/MyLineLayer/MyLineLayer/Debug/CGCADMyLineLayer.arx diff --git a/Master/CGuCAD/Beispiele/MyLineLayer/MyLineLayer/Debug/CGCADMyLineLayer.arx.embed.manifest b/Master/CGuCAD/Beispiele/MyLineLayer/MyLineLayer/Debug/CGCADMyLineLayer.arx.embed.manifest new file mode 100644 index 0000000..3a387b0 --- /dev/null +++ b/Master/CGuCAD/Beispiele/MyLineLayer/MyLineLayer/Debug/CGCADMyLineLayer.arx.embed.manifest @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
+ <dependency>
+ <dependentAssembly>
+ <assemblyIdentity type="win32" name="Microsoft.VC80.CRT" version="8.0.50727.762" processorArchitecture="x86" publicKeyToken="1fc8b3b9a1e18e3b"></assemblyIdentity>
+ </dependentAssembly>
+ </dependency>
+ <dependency>
+ <dependentAssembly>
+ <assemblyIdentity type="win32" name="Microsoft.VC80.MFC" version="8.0.50727.762" processorArchitecture="x86" publicKeyToken="1fc8b3b9a1e18e3b"></assemblyIdentity>
+ </dependentAssembly>
+ </dependency>
+ <dependency>
+ <dependentAssembly>
+ <assemblyIdentity type="win32" name="Microsoft.VC80.CRT" version="8.0.50608.0" processorArchitecture="x86" publicKeyToken="1fc8b3b9a1e18e3b"></assemblyIdentity>
+ </dependentAssembly>
+ </dependency>
+ <dependency>
+ <dependentAssembly>
+ <assemblyIdentity type="win32" name="Microsoft.VC80.MFC" version="8.0.50608.0" processorArchitecture="x86" publicKeyToken="1fc8b3b9a1e18e3b"></assemblyIdentity>
+ </dependentAssembly>
+ </dependency>
+</assembly>
\ No newline at end of file diff --git a/Master/CGuCAD/Beispiele/MyLineLayer/MyLineLayer/Debug/CGCADMyLineLayer.arx.embed.manifest.res b/Master/CGuCAD/Beispiele/MyLineLayer/MyLineLayer/Debug/CGCADMyLineLayer.arx.embed.manifest.res Binary files differnew file mode 100644 index 0000000..8d75e15 --- /dev/null +++ b/Master/CGuCAD/Beispiele/MyLineLayer/MyLineLayer/Debug/CGCADMyLineLayer.arx.embed.manifest.res diff --git a/Master/CGuCAD/Beispiele/MyLineLayer/MyLineLayer/Debug/CGCADMyLineLayer.arx.intermediate.manifest b/Master/CGuCAD/Beispiele/MyLineLayer/MyLineLayer/Debug/CGCADMyLineLayer.arx.intermediate.manifest new file mode 100644 index 0000000..0e2b419 --- /dev/null +++ b/Master/CGuCAD/Beispiele/MyLineLayer/MyLineLayer/Debug/CGCADMyLineLayer.arx.intermediate.manifest @@ -0,0 +1,23 @@ +<?xml version='1.0' encoding='UTF-8' standalone='yes'?>
+<assembly xmlns='urn:schemas-microsoft-com:asm.v1' manifestVersion='1.0'>
+ <dependency>
+ <dependentAssembly>
+ <assemblyIdentity type='win32' name='Microsoft.VC80.CRT' version='8.0.50727.762' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b' />
+ </dependentAssembly>
+ </dependency>
+ <dependency>
+ <dependentAssembly>
+ <assemblyIdentity type='win32' name='Microsoft.VC80.MFC' version='8.0.50727.762' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b' />
+ </dependentAssembly>
+ </dependency>
+ <dependency>
+ <dependentAssembly>
+ <assemblyIdentity type='win32' name='Microsoft.VC80.CRT' version='8.0.50608.0' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b' />
+ </dependentAssembly>
+ </dependency>
+ <dependency>
+ <dependentAssembly>
+ <assemblyIdentity type='win32' name='Microsoft.VC80.MFC' version='8.0.50608.0' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b' />
+ </dependentAssembly>
+ </dependency>
+</assembly>
diff --git a/Master/CGuCAD/Beispiele/MyLineLayer/MyLineLayer/Debug/CGCADMyLineLayer.ilk b/Master/CGuCAD/Beispiele/MyLineLayer/MyLineLayer/Debug/CGCADMyLineLayer.ilk Binary files differnew file mode 100644 index 0000000..9878f96 --- /dev/null +++ b/Master/CGuCAD/Beispiele/MyLineLayer/MyLineLayer/Debug/CGCADMyLineLayer.ilk diff --git a/Master/CGuCAD/Beispiele/MyLineLayer/MyLineLayer/Debug/CGCADMyLineLayer.pch b/Master/CGuCAD/Beispiele/MyLineLayer/MyLineLayer/Debug/CGCADMyLineLayer.pch Binary files differnew file mode 100644 index 0000000..80a153e --- /dev/null +++ b/Master/CGuCAD/Beispiele/MyLineLayer/MyLineLayer/Debug/CGCADMyLineLayer.pch diff --git a/Master/CGuCAD/Beispiele/MyLineLayer/MyLineLayer/Debug/DocData.obj b/Master/CGuCAD/Beispiele/MyLineLayer/MyLineLayer/Debug/DocData.obj Binary files differnew file mode 100644 index 0000000..a00a579 --- /dev/null +++ b/Master/CGuCAD/Beispiele/MyLineLayer/MyLineLayer/Debug/DocData.obj diff --git a/Master/CGuCAD/Beispiele/MyLineLayer/MyLineLayer/Debug/MyLineLayer.exp b/Master/CGuCAD/Beispiele/MyLineLayer/MyLineLayer/Debug/MyLineLayer.exp Binary files differnew file mode 100644 index 0000000..5490a12 --- /dev/null +++ b/Master/CGuCAD/Beispiele/MyLineLayer/MyLineLayer/Debug/MyLineLayer.exp diff --git a/Master/CGuCAD/Beispiele/MyLineLayer/MyLineLayer/Debug/MyLineLayer.lib b/Master/CGuCAD/Beispiele/MyLineLayer/MyLineLayer/Debug/MyLineLayer.lib Binary files differnew file mode 100644 index 0000000..b807365 --- /dev/null +++ b/Master/CGuCAD/Beispiele/MyLineLayer/MyLineLayer/Debug/MyLineLayer.lib diff --git a/Master/CGuCAD/Beispiele/MyLineLayer/MyLineLayer/Debug/MyLineLayer.obj b/Master/CGuCAD/Beispiele/MyLineLayer/MyLineLayer/Debug/MyLineLayer.obj Binary files differnew file mode 100644 index 0000000..17a7a1b --- /dev/null +++ b/Master/CGuCAD/Beispiele/MyLineLayer/MyLineLayer/Debug/MyLineLayer.obj diff --git a/Master/CGuCAD/Beispiele/MyLineLayer/MyLineLayer/Debug/MyLineLayer.pdb b/Master/CGuCAD/Beispiele/MyLineLayer/MyLineLayer/Debug/MyLineLayer.pdb Binary files differnew file mode 100644 index 0000000..03191fb --- /dev/null +++ b/Master/CGuCAD/Beispiele/MyLineLayer/MyLineLayer/Debug/MyLineLayer.pdb diff --git a/Master/CGuCAD/Beispiele/MyLineLayer/MyLineLayer/Debug/MyLineLayer.res b/Master/CGuCAD/Beispiele/MyLineLayer/MyLineLayer/Debug/MyLineLayer.res Binary files differnew file mode 100644 index 0000000..cd01450 --- /dev/null +++ b/Master/CGuCAD/Beispiele/MyLineLayer/MyLineLayer/Debug/MyLineLayer.res diff --git a/Master/CGuCAD/Beispiele/MyLineLayer/MyLineLayer/Debug/StdAfx.obj b/Master/CGuCAD/Beispiele/MyLineLayer/MyLineLayer/Debug/StdAfx.obj Binary files differnew file mode 100644 index 0000000..eb658a9 --- /dev/null +++ b/Master/CGuCAD/Beispiele/MyLineLayer/MyLineLayer/Debug/StdAfx.obj diff --git a/Master/CGuCAD/Beispiele/MyLineLayer/MyLineLayer/Debug/acrxEntryPoint.obj b/Master/CGuCAD/Beispiele/MyLineLayer/MyLineLayer/Debug/acrxEntryPoint.obj Binary files differnew file mode 100644 index 0000000..4e63342 --- /dev/null +++ b/Master/CGuCAD/Beispiele/MyLineLayer/MyLineLayer/Debug/acrxEntryPoint.obj diff --git a/Master/CGuCAD/Beispiele/MyLineLayer/MyLineLayer/Debug/mt.dep b/Master/CGuCAD/Beispiele/MyLineLayer/MyLineLayer/Debug/mt.dep new file mode 100644 index 0000000..17c0d0f --- /dev/null +++ b/Master/CGuCAD/Beispiele/MyLineLayer/MyLineLayer/Debug/mt.dep @@ -0,0 +1 @@ + die Manifestressource wurde zuletzt um 17:38:43,43 am 19.03.2007 aktualisiert
diff --git a/Master/CGuCAD/Beispiele/MyLineLayer/MyLineLayer/Debug/vc80.idb b/Master/CGuCAD/Beispiele/MyLineLayer/MyLineLayer/Debug/vc80.idb Binary files differnew file mode 100644 index 0000000..2965c42 --- /dev/null +++ b/Master/CGuCAD/Beispiele/MyLineLayer/MyLineLayer/Debug/vc80.idb diff --git a/Master/CGuCAD/Beispiele/MyLineLayer/MyLineLayer/Debug/vc80.pdb b/Master/CGuCAD/Beispiele/MyLineLayer/MyLineLayer/Debug/vc80.pdb Binary files differnew file mode 100644 index 0000000..bbd1083 --- /dev/null +++ b/Master/CGuCAD/Beispiele/MyLineLayer/MyLineLayer/Debug/vc80.pdb diff --git a/Master/CGuCAD/Beispiele/MyLineLayer/MyLineLayer/DocData.cpp b/Master/CGuCAD/Beispiele/MyLineLayer/MyLineLayer/DocData.cpp new file mode 100644 index 0000000..7429228 --- /dev/null +++ b/Master/CGuCAD/Beispiele/MyLineLayer/MyLineLayer/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<CDocData> DocVars ;
+
+//-----------------------------------------------------------------------------
+//----- Implementation of the document data class.
+CDocData::CDocData () {
+}
+
+//-----------------------------------------------------------------------------
+CDocData::CDocData (const CDocData &data) {
+}
+
+//-----------------------------------------------------------------------------
+CDocData::~CDocData () {
+}
diff --git a/Master/CGuCAD/Beispiele/MyLineLayer/MyLineLayer/DocData.h b/Master/CGuCAD/Beispiele/MyLineLayer/MyLineLayer/DocData.h new file mode 100644 index 0000000..d466dd4 --- /dev/null +++ b/Master/CGuCAD/Beispiele/MyLineLayer/MyLineLayer/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/MyLineLayer/MyLineLayer/MyLineLayer.cpp b/Master/CGuCAD/Beispiele/MyLineLayer/MyLineLayer/MyLineLayer.cpp new file mode 100644 index 0000000..a75e2e9 --- /dev/null +++ b/Master/CGuCAD/Beispiele/MyLineLayer/MyLineLayer/MyLineLayer.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.
+//
+
+//-----------------------------------------------------------------------------
+//- MyLineLayer.cpp : Initialization functions
+//-----------------------------------------------------------------------------
+#include "StdAfx.h"
+#include "resource.h"
+#include <afxdllx.h>
+
+//-----------------------------------------------------------------------------
+//- Define the sole extension module object.
+AC_IMPLEMENT_EXTENSION_MODULE(MyLineLayerDLL)
+//- 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 MyLineLayerExtDLL ={ 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 ;
+ MyLineLayerDLL.AttachInstance (hInstance) ;
+ InitAcUiDLL () ;
+ } else if ( dwReason == DLL_PROCESS_DETACH ) {
+ MyLineLayerDLL.DetachInstance () ;
+ }
+ return (TRUE) ;
+}
+
diff --git a/Master/CGuCAD/Beispiele/MyLineLayer/MyLineLayer/MyLineLayer.rc b/Master/CGuCAD/Beispiele/MyLineLayer/MyLineLayer/MyLineLayer.rc new file mode 100644 index 0000000..d1c5129 --- /dev/null +++ b/Master/CGuCAD/Beispiele/MyLineLayer/MyLineLayer/MyLineLayer.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", "MyLineLayer ObjectARX application\0"
+ VALUE "FileVersion", "1, 0, 0, 1\0"
+ VALUE "InternalName", "MyLineLayer\0"
+ VALUE "LegalCopyright", "Copyright © 2002\0"
+ VALUE "OriginalFilename", "CGCADMyLineLayer.arx\0"
+ VALUE "ProductName", "MyLineLayer 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 "MyLineLayer"
+END
+
+
+
+/////////////////////////////////////////////////////////////////////////////
+
+#ifndef APSTUDIO_INVOKED
+/////////////////////////////////////////////////////////////////////////////
+//
+// Generated from the TEXTINCLUDE 3 resource.
+//
+/////////////////////////////////////////////////////////////////////////////
+#endif // not APSTUDIO_INVOKED
+
diff --git a/Master/CGuCAD/Beispiele/MyLineLayer/MyLineLayer/MyLineLayer.vcproj b/Master/CGuCAD/Beispiele/MyLineLayer/MyLineLayer/MyLineLayer.vcproj new file mode 100644 index 0000000..805c594 --- /dev/null +++ b/Master/CGuCAD/Beispiele/MyLineLayer/MyLineLayer/MyLineLayer.vcproj @@ -0,0 +1,271 @@ +<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+ ProjectType="Visual C++"
+ Version="8,00"
+ Name="MyLineLayer"
+ ProjectGUID="{745723E8-BAB7-45E8-850A-5B88263EE9AB}"
+ >
+ <Platforms>
+ <Platform
+ Name="Win32"
+ />
+ </Platforms>
+ <ToolFiles>
+ </ToolFiles>
+ <Configurations>
+ <Configuration
+ Name="Debug|Win32"
+ OutputDirectory="Debug"
+ IntermediateDirectory="Debug"
+ ConfigurationType="2"
+ UseOfMFC="2"
+ CharacterSet="1"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="0"
+ AdditionalIncludeDirectories="E:\CAD\ObjectARX2007\inc"
+ AdditionalUsingDirectories="E:\CAD\AutoCAD 2007"
+ PreprocessorDefinitions="WIN32;_WINDOWS;MYLINELAYER_MODULE;_AFXEXT;_ACRXAPP"
+ StringPooling="false"
+ MinimalRebuild="true"
+ BasicRuntimeChecks="3"
+ RuntimeLibrary="2"
+ BufferSecurityCheck="true"
+ TreatWChar_tAsBuiltInType="true"
+ ForceConformanceInForLoopScope="true"
+ RuntimeTypeInfo="true"
+ UsePrecompiledHeader="2"
+ WarningLevel="1"
+ Detect64BitPortabilityProblems="false"
+ DebugInformationFormat="4"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ PreprocessorDefinitions=""
+ Culture="1033"
+ AdditionalIncludeDirectories="$(IntDir)"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ OutputFile="$(outdir)/CGCADMyLineLayer.arx"
+ LinkIncremental="2"
+ AdditionalLibraryDirectories="E:\CAD\ObjectARX2007\lib"
+ LinkDLL="true"
+ GenerateDebugInformation="true"
+ ProgramDatabaseFile="$(OutDir)/MyLineLayer.pdb"
+ SubSystem="2"
+ ImportLibrary="$(OutDir)/MyLineLayer.lib"
+ TargetMachine="1"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCWebDeploymentTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ <Configuration
+ Name="Release|Win32"
+ OutputDirectory="Release"
+ IntermediateDirectory="Release"
+ ConfigurationType="2"
+ UseOfMFC="2"
+ CharacterSet="1"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="2"
+ AdditionalUsingDirectories="E:\CAD\AutoCAD 2007"
+ PreprocessorDefinitions="WIN32;_WINDOWS;NDEBUG;MYLINELAYER_MODULE;;_AFXEXT;_ACRXAPP"
+ StringPooling="true"
+ MinimalRebuild="false"
+ BasicRuntimeChecks="0"
+ RuntimeLibrary="2"
+ BufferSecurityCheck="true"
+ TreatWChar_tAsBuiltInType="true"
+ ForceConformanceInForLoopScope="true"
+ RuntimeTypeInfo="true"
+ UsePrecompiledHeader="2"
+ WarningLevel="1"
+ Detect64BitPortabilityProblems="true"
+ DebugInformationFormat="0"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ PreprocessorDefinitions="NDEBUG"
+ Culture="1033"
+ AdditionalIncludeDirectories="$(IntDir)"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ OutputFile="$(outdir)/CGCADMyLineLayer.arx"
+ LinkIncremental="2"
+ LinkDLL="true"
+ GenerateDebugInformation="false"
+ ProgramDatabaseFile=""
+ SubSystem="2"
+ ImportLibrary="$(OutDir)/MyLineLayer.lib"
+ TargetMachine="1"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCWebDeploymentTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ </Configurations>
+ <References>
+ </References>
+ <Files>
+ <Filter
+ Name="Source Files"
+ Filter="cpp;c;cc;cxx;def;idl;odl"
+ >
+ <File
+ RelativePath=".\acrxEntryPoint.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\DocData.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\MyLineLayer.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\StdAfx.cpp"
+ >
+ <FileConfiguration
+ Name="Debug|Win32"
+ >
+ <Tool
+ Name="VCCLCompilerTool"
+ UsePrecompiledHeader="1"
+ />
+ </FileConfiguration>
+ <FileConfiguration
+ Name="Release|Win32"
+ >
+ <Tool
+ Name="VCCLCompilerTool"
+ UsePrecompiledHeader="1"
+ />
+ </FileConfiguration>
+ </File>
+ </Filter>
+ <Filter
+ Name="Include Files"
+ Filter="h;hh;hxx"
+ >
+ <File
+ RelativePath=".\DocData.h"
+ >
+ </File>
+ <File
+ RelativePath=".\Resource.h"
+ >
+ </File>
+ <File
+ RelativePath=".\StdAfx.h"
+ >
+ </File>
+ </Filter>
+ <Filter
+ Name="Resource Files"
+ Filter="rc;ico;bmp;cur;jpg;gif"
+ >
+ <File
+ RelativePath=".\MyLineLayer.rc"
+ >
+ </File>
+ </Filter>
+ <Filter
+ Name="Miscellaneous Files"
+ Filter="reg;rgs;mak;clw;vsdir;vsz;css;inf;vcproj;csproj"
+ >
+ </Filter>
+ </Files>
+ <Globals>
+ </Globals>
+</VisualStudioProject>
diff --git a/Master/CGuCAD/Beispiele/MyLineLayer/MyLineLayer/MyLineLayer.vcproj.PC3000-ER.Stefan Wiesmann.user b/Master/CGuCAD/Beispiele/MyLineLayer/MyLineLayer/MyLineLayer.vcproj.PC3000-ER.Stefan Wiesmann.user new file mode 100644 index 0000000..3cf2b5e --- /dev/null +++ b/Master/CGuCAD/Beispiele/MyLineLayer/MyLineLayer/MyLineLayer.vcproj.PC3000-ER.Stefan Wiesmann.user @@ -0,0 +1,65 @@ +<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioUserFile
+ ProjectType="Visual C++"
+ Version="8,00"
+ ShowAllFiles="false"
+ >
+ <Configurations>
+ <Configuration
+ Name="Debug|Win32"
+ >
+ <DebugSettings
+ Command="E:\CAD\AutoCAD 2007\acad.exe"
+ WorkingDirectory=""
+ CommandArguments=""
+ Attach="false"
+ DebuggerType="3"
+ Remote="1"
+ RemoteMachine="PC3000-ER"
+ RemoteCommand=""
+ HttpUrl=""
+ PDBPath=""
+ SQLDebugging=""
+ Environment=""
+ EnvironmentMerge="true"
+ DebuggerFlavor=""
+ MPIRunCommand=""
+ MPIRunArguments=""
+ MPIRunWorkingDirectory=""
+ ApplicationCommand=""
+ ApplicationArguments=""
+ ShimCommand=""
+ MPIAcceptMode=""
+ MPIAcceptFilter=""
+ />
+ </Configuration>
+ <Configuration
+ Name="Release|Win32"
+ >
+ <DebugSettings
+ Command="E:\CAD\AutoCAD 2007\acad.exe"
+ WorkingDirectory=""
+ CommandArguments=""
+ Attach="false"
+ DebuggerType="3"
+ Remote="1"
+ RemoteMachine="PC3000-ER"
+ RemoteCommand=""
+ HttpUrl=""
+ PDBPath=""
+ SQLDebugging=""
+ Environment=""
+ EnvironmentMerge="true"
+ DebuggerFlavor=""
+ MPIRunCommand=""
+ MPIRunArguments=""
+ MPIRunWorkingDirectory=""
+ ApplicationCommand=""
+ ApplicationArguments=""
+ ShimCommand=""
+ MPIAcceptMode=""
+ MPIAcceptFilter=""
+ />
+ </Configuration>
+ </Configurations>
+</VisualStudioUserFile>
diff --git a/Master/CGuCAD/Beispiele/MyLineLayer/MyLineLayer/Resource.h b/Master/CGuCAD/Beispiele/MyLineLayer/MyLineLayer/Resource.h new file mode 100644 index 0000000..fb6e4d4 --- /dev/null +++ b/Master/CGuCAD/Beispiele/MyLineLayer/MyLineLayer/Resource.h @@ -0,0 +1,16 @@ +//{{NO_DEPENDENCIES}}
+// Microsoft Visual C++ generated include file.
+// Used by MyLineLayer.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/MyLineLayer/MyLineLayer/StdAfx.cpp b/Master/CGuCAD/Beispiele/MyLineLayer/MyLineLayer/StdAfx.cpp new file mode 100644 index 0000000..26d0a6a --- /dev/null +++ b/Master/CGuCAD/Beispiele/MyLineLayer/MyLineLayer/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/MyLineLayer/MyLineLayer/StdAfx.h b/Master/CGuCAD/Beispiele/MyLineLayer/MyLineLayer/StdAfx.h new file mode 100644 index 0000000..a6c2d9b --- /dev/null +++ b/Master/CGuCAD/Beispiele/MyLineLayer/MyLineLayer/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 <map>
+
+//-----------------------------------------------------------------------------
+#include <afxwin.h> //- MFC core and standard components
+#include <afxext.h> //- MFC extensions
+
+#ifndef _AFX_NO_OLE_SUPPORT
+#include <afxole.h> //- MFC OLE classes
+#include <afxodlgs.h> //- MFC OLE dialog classes
+#include <afxdisp.h> //- MFC Automation classes
+#endif // _AFX_NO_OLE_SUPPORT
+
+#ifndef _AFX_NO_DB_SUPPORT
+#include <afxdb.h> //- MFC ODBC database classes
+#endif // _AFX_NO_DB_SUPPORT
+
+#ifndef _AFX_NO_DAO_SUPPORT
+#include <afxdao.h> //- MFC DAO database classes
+#endif // _AFX_NO_DAO_SUPPORT
+
+#include <afxdtctl.h> //- MFC support for Internet Explorer 4 Common Controls
+#ifndef _AFX_NO_AFXCMN_SUPPORT
+#include <afxcmn.h> //- 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<CDocData> DocVars ;
+
+#pragma pack (pop)
+
diff --git a/Master/CGuCAD/Beispiele/MyLineLayer/MyLineLayer/acrxEntryPoint.cpp b/Master/CGuCAD/Beispiele/MyLineLayer/MyLineLayer/acrxEntryPoint.cpp new file mode 100644 index 0000000..d2af483 --- /dev/null +++ b/Master/CGuCAD/Beispiele/MyLineLayer/MyLineLayer/acrxEntryPoint.cpp @@ -0,0 +1,142 @@ +// (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 CMyLineLayerApp : public AcRxArxApp {
+
+public:
+ CMyLineLayerApp () : 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 () {
+ }
+
+
+ // - CGCADMyLineLayer.myLineLayer command (do not rename)
+ static void CGCADMyLineLayermyLineLayer(void)
+ {
+ // Add your code for command CGCADMyLineLayer.myLineLayer here
+ // eingefuegt WI und folgende ...
+ AcDbLayerTable* pLayerTbl = NULL;
+ // Get the current Database
+ AcDbDatabase* pDB = acdbHostApplicationServices()->workingDatabase();
+
+ // Get the LayerTable for write because we will create a new entry
+ pDB->getSymbolTable(pLayerTbl,AcDb::kForWrite);
+
+ // Check if the layer is already there
+ if (!pLayerTbl->has(_T("MYLAYER")))
+ {
+ // Instantiate a new object and set its properties
+ AcDbLayerTableRecord *pLayerTblRcd = new AcDbLayerTableRecord;
+ pLayerTblRcd->setName(_T("MYLAYER"));
+ pLayerTblRcd->setIsFrozen(0); // layer set to THAWED
+ pLayerTblRcd->setIsOff(0); // layer set to ON
+ pLayerTblRcd->setIsLocked(0); // layer un-locked
+ AcCmColor color;
+ color.setColorIndex(10); // set layer color to red
+ pLayerTblRcd->setColor(color);
+
+ // Now, add the new layer to its container
+ pLayerTbl->add(pLayerTblRcd);
+
+ // Close the new layer (DON'T DELETE IT)
+ pLayerTblRcd->close();
+
+ // Close the container
+ pLayerTbl->close();
+ }
+ else
+ {
+ // If our layer is already there, just close the container and continue
+ pLayerTbl->close();
+ acutPrintf(_T("\nMYLAYER already exists")); //output in thr status line
+ }
+
+ // 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);
+ pLine->setLayer(_T("MYLAYER"));
+
+ // 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(CMyLineLayerApp)
+
+ACED_ARXCOMMAND_ENTRY_AUTO(CMyLineLayerApp, CGCADMyLineLayer, myLineLayer, meineLinieEbene, ACRX_CMD_MODAL, NULL)
diff --git a/Master/CGuCAD/Beispiele/SelectPolyline/SelectPolyline.ncb b/Master/CGuCAD/Beispiele/SelectPolyline/SelectPolyline.ncb Binary files differnew file mode 100644 index 0000000..d3d3128 --- /dev/null +++ b/Master/CGuCAD/Beispiele/SelectPolyline/SelectPolyline.ncb diff --git a/Master/CGuCAD/Beispiele/SelectPolyline/SelectPolyline.sln b/Master/CGuCAD/Beispiele/SelectPolyline/SelectPolyline.sln new file mode 100644 index 0000000..fc4b4e1 --- /dev/null +++ b/Master/CGuCAD/Beispiele/SelectPolyline/SelectPolyline.sln @@ -0,0 +1,20 @@ +
+Microsoft Visual Studio Solution File, Format Version 9.00
+# Visual Studio 2005
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SelectPolyline", "SelectPolyline\SelectPolyline.vcproj", "{3C769520-0F2E-49FF-8C00-B9C7B3F26933}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Win32 = Debug|Win32
+ Release|Win32 = Release|Win32
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {3C769520-0F2E-49FF-8C00-B9C7B3F26933}.Debug|Win32.ActiveCfg = Debug|Win32
+ {3C769520-0F2E-49FF-8C00-B9C7B3F26933}.Debug|Win32.Build.0 = Debug|Win32
+ {3C769520-0F2E-49FF-8C00-B9C7B3F26933}.Release|Win32.ActiveCfg = Release|Win32
+ {3C769520-0F2E-49FF-8C00-B9C7B3F26933}.Release|Win32.Build.0 = Release|Win32
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+EndGlobal
diff --git a/Master/CGuCAD/Beispiele/SelectPolyline/SelectPolyline.suo b/Master/CGuCAD/Beispiele/SelectPolyline/SelectPolyline.suo Binary files differnew file mode 100644 index 0000000..e2c92d3 --- /dev/null +++ b/Master/CGuCAD/Beispiele/SelectPolyline/SelectPolyline.suo diff --git a/Master/CGuCAD/Beispiele/SelectPolyline/SelectPolyline/Debug/BuildLog.htm b/Master/CGuCAD/Beispiele/SelectPolyline/SelectPolyline/Debug/BuildLog.htm Binary files differnew file mode 100644 index 0000000..cc41dd0 --- /dev/null +++ b/Master/CGuCAD/Beispiele/SelectPolyline/SelectPolyline/Debug/BuildLog.htm diff --git a/Master/CGuCAD/Beispiele/SelectPolyline/SelectPolyline/Debug/CGCADSelectPolyline.arx b/Master/CGuCAD/Beispiele/SelectPolyline/SelectPolyline/Debug/CGCADSelectPolyline.arx Binary files differnew file mode 100644 index 0000000..056c639 --- /dev/null +++ b/Master/CGuCAD/Beispiele/SelectPolyline/SelectPolyline/Debug/CGCADSelectPolyline.arx diff --git a/Master/CGuCAD/Beispiele/SelectPolyline/SelectPolyline/Debug/CGCADSelectPolyline.arx.embed.manifest b/Master/CGuCAD/Beispiele/SelectPolyline/SelectPolyline/Debug/CGCADSelectPolyline.arx.embed.manifest new file mode 100644 index 0000000..3a387b0 --- /dev/null +++ b/Master/CGuCAD/Beispiele/SelectPolyline/SelectPolyline/Debug/CGCADSelectPolyline.arx.embed.manifest @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
+ <dependency>
+ <dependentAssembly>
+ <assemblyIdentity type="win32" name="Microsoft.VC80.CRT" version="8.0.50727.762" processorArchitecture="x86" publicKeyToken="1fc8b3b9a1e18e3b"></assemblyIdentity>
+ </dependentAssembly>
+ </dependency>
+ <dependency>
+ <dependentAssembly>
+ <assemblyIdentity type="win32" name="Microsoft.VC80.MFC" version="8.0.50727.762" processorArchitecture="x86" publicKeyToken="1fc8b3b9a1e18e3b"></assemblyIdentity>
+ </dependentAssembly>
+ </dependency>
+ <dependency>
+ <dependentAssembly>
+ <assemblyIdentity type="win32" name="Microsoft.VC80.CRT" version="8.0.50608.0" processorArchitecture="x86" publicKeyToken="1fc8b3b9a1e18e3b"></assemblyIdentity>
+ </dependentAssembly>
+ </dependency>
+ <dependency>
+ <dependentAssembly>
+ <assemblyIdentity type="win32" name="Microsoft.VC80.MFC" version="8.0.50608.0" processorArchitecture="x86" publicKeyToken="1fc8b3b9a1e18e3b"></assemblyIdentity>
+ </dependentAssembly>
+ </dependency>
+</assembly>
\ No newline at end of file diff --git a/Master/CGuCAD/Beispiele/SelectPolyline/SelectPolyline/Debug/CGCADSelectPolyline.arx.embed.manifest.res b/Master/CGuCAD/Beispiele/SelectPolyline/SelectPolyline/Debug/CGCADSelectPolyline.arx.embed.manifest.res Binary files differnew file mode 100644 index 0000000..8d75e15 --- /dev/null +++ b/Master/CGuCAD/Beispiele/SelectPolyline/SelectPolyline/Debug/CGCADSelectPolyline.arx.embed.manifest.res diff --git a/Master/CGuCAD/Beispiele/SelectPolyline/SelectPolyline/Debug/CGCADSelectPolyline.arx.intermediate.manifest b/Master/CGuCAD/Beispiele/SelectPolyline/SelectPolyline/Debug/CGCADSelectPolyline.arx.intermediate.manifest new file mode 100644 index 0000000..0e2b419 --- /dev/null +++ b/Master/CGuCAD/Beispiele/SelectPolyline/SelectPolyline/Debug/CGCADSelectPolyline.arx.intermediate.manifest @@ -0,0 +1,23 @@ +<?xml version='1.0' encoding='UTF-8' standalone='yes'?>
+<assembly xmlns='urn:schemas-microsoft-com:asm.v1' manifestVersion='1.0'>
+ <dependency>
+ <dependentAssembly>
+ <assemblyIdentity type='win32' name='Microsoft.VC80.CRT' version='8.0.50727.762' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b' />
+ </dependentAssembly>
+ </dependency>
+ <dependency>
+ <dependentAssembly>
+ <assemblyIdentity type='win32' name='Microsoft.VC80.MFC' version='8.0.50727.762' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b' />
+ </dependentAssembly>
+ </dependency>
+ <dependency>
+ <dependentAssembly>
+ <assemblyIdentity type='win32' name='Microsoft.VC80.CRT' version='8.0.50608.0' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b' />
+ </dependentAssembly>
+ </dependency>
+ <dependency>
+ <dependentAssembly>
+ <assemblyIdentity type='win32' name='Microsoft.VC80.MFC' version='8.0.50608.0' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b' />
+ </dependentAssembly>
+ </dependency>
+</assembly>
diff --git a/Master/CGuCAD/Beispiele/SelectPolyline/SelectPolyline/Debug/CGCADSelectPolyline.ilk b/Master/CGuCAD/Beispiele/SelectPolyline/SelectPolyline/Debug/CGCADSelectPolyline.ilk Binary files differnew file mode 100644 index 0000000..c128740 --- /dev/null +++ b/Master/CGuCAD/Beispiele/SelectPolyline/SelectPolyline/Debug/CGCADSelectPolyline.ilk diff --git a/Master/CGuCAD/Beispiele/SelectPolyline/SelectPolyline/Debug/CGCADSelectPolyline.pch b/Master/CGuCAD/Beispiele/SelectPolyline/SelectPolyline/Debug/CGCADSelectPolyline.pch Binary files differnew file mode 100644 index 0000000..a46d0f9 --- /dev/null +++ b/Master/CGuCAD/Beispiele/SelectPolyline/SelectPolyline/Debug/CGCADSelectPolyline.pch diff --git a/Master/CGuCAD/Beispiele/SelectPolyline/SelectPolyline/Debug/DocData.obj b/Master/CGuCAD/Beispiele/SelectPolyline/SelectPolyline/Debug/DocData.obj Binary files differnew file mode 100644 index 0000000..198268d --- /dev/null +++ b/Master/CGuCAD/Beispiele/SelectPolyline/SelectPolyline/Debug/DocData.obj diff --git a/Master/CGuCAD/Beispiele/SelectPolyline/SelectPolyline/Debug/SelectPolyline.exp b/Master/CGuCAD/Beispiele/SelectPolyline/SelectPolyline/Debug/SelectPolyline.exp Binary files differnew file mode 100644 index 0000000..7f05f54 --- /dev/null +++ b/Master/CGuCAD/Beispiele/SelectPolyline/SelectPolyline/Debug/SelectPolyline.exp diff --git a/Master/CGuCAD/Beispiele/SelectPolyline/SelectPolyline/Debug/SelectPolyline.lib b/Master/CGuCAD/Beispiele/SelectPolyline/SelectPolyline/Debug/SelectPolyline.lib Binary files differnew file mode 100644 index 0000000..d6a945b --- /dev/null +++ b/Master/CGuCAD/Beispiele/SelectPolyline/SelectPolyline/Debug/SelectPolyline.lib diff --git a/Master/CGuCAD/Beispiele/SelectPolyline/SelectPolyline/Debug/SelectPolyline.obj b/Master/CGuCAD/Beispiele/SelectPolyline/SelectPolyline/Debug/SelectPolyline.obj Binary files differnew file mode 100644 index 0000000..95f2867 --- /dev/null +++ b/Master/CGuCAD/Beispiele/SelectPolyline/SelectPolyline/Debug/SelectPolyline.obj diff --git a/Master/CGuCAD/Beispiele/SelectPolyline/SelectPolyline/Debug/SelectPolyline.pdb b/Master/CGuCAD/Beispiele/SelectPolyline/SelectPolyline/Debug/SelectPolyline.pdb Binary files differnew file mode 100644 index 0000000..c950707 --- /dev/null +++ b/Master/CGuCAD/Beispiele/SelectPolyline/SelectPolyline/Debug/SelectPolyline.pdb diff --git a/Master/CGuCAD/Beispiele/SelectPolyline/SelectPolyline/Debug/SelectPolyline.res b/Master/CGuCAD/Beispiele/SelectPolyline/SelectPolyline/Debug/SelectPolyline.res Binary files differnew file mode 100644 index 0000000..92421d6 --- /dev/null +++ b/Master/CGuCAD/Beispiele/SelectPolyline/SelectPolyline/Debug/SelectPolyline.res diff --git a/Master/CGuCAD/Beispiele/SelectPolyline/SelectPolyline/Debug/StdAfx.obj b/Master/CGuCAD/Beispiele/SelectPolyline/SelectPolyline/Debug/StdAfx.obj Binary files differnew file mode 100644 index 0000000..45b2eec --- /dev/null +++ b/Master/CGuCAD/Beispiele/SelectPolyline/SelectPolyline/Debug/StdAfx.obj diff --git a/Master/CGuCAD/Beispiele/SelectPolyline/SelectPolyline/Debug/acrxEntryPoint.obj b/Master/CGuCAD/Beispiele/SelectPolyline/SelectPolyline/Debug/acrxEntryPoint.obj Binary files differnew file mode 100644 index 0000000..af4903b --- /dev/null +++ b/Master/CGuCAD/Beispiele/SelectPolyline/SelectPolyline/Debug/acrxEntryPoint.obj diff --git a/Master/CGuCAD/Beispiele/SelectPolyline/SelectPolyline/Debug/mt.dep b/Master/CGuCAD/Beispiele/SelectPolyline/SelectPolyline/Debug/mt.dep new file mode 100644 index 0000000..3dd01be --- /dev/null +++ b/Master/CGuCAD/Beispiele/SelectPolyline/SelectPolyline/Debug/mt.dep @@ -0,0 +1 @@ + die Manifestressource wurde zuletzt um 18:24:58,31 am 27.03.2007 aktualisiert
diff --git a/Master/CGuCAD/Beispiele/SelectPolyline/SelectPolyline/Debug/vc80.idb b/Master/CGuCAD/Beispiele/SelectPolyline/SelectPolyline/Debug/vc80.idb Binary files differnew file mode 100644 index 0000000..849ade1 --- /dev/null +++ b/Master/CGuCAD/Beispiele/SelectPolyline/SelectPolyline/Debug/vc80.idb diff --git a/Master/CGuCAD/Beispiele/SelectPolyline/SelectPolyline/Debug/vc80.pdb b/Master/CGuCAD/Beispiele/SelectPolyline/SelectPolyline/Debug/vc80.pdb Binary files differnew file mode 100644 index 0000000..be410ca --- /dev/null +++ b/Master/CGuCAD/Beispiele/SelectPolyline/SelectPolyline/Debug/vc80.pdb diff --git a/Master/CGuCAD/Beispiele/SelectPolyline/SelectPolyline/DocData.cpp b/Master/CGuCAD/Beispiele/SelectPolyline/SelectPolyline/DocData.cpp new file mode 100644 index 0000000..7429228 --- /dev/null +++ b/Master/CGuCAD/Beispiele/SelectPolyline/SelectPolyline/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<CDocData> DocVars ;
+
+//-----------------------------------------------------------------------------
+//----- Implementation of the document data class.
+CDocData::CDocData () {
+}
+
+//-----------------------------------------------------------------------------
+CDocData::CDocData (const CDocData &data) {
+}
+
+//-----------------------------------------------------------------------------
+CDocData::~CDocData () {
+}
diff --git a/Master/CGuCAD/Beispiele/SelectPolyline/SelectPolyline/DocData.h b/Master/CGuCAD/Beispiele/SelectPolyline/SelectPolyline/DocData.h new file mode 100644 index 0000000..d466dd4 --- /dev/null +++ b/Master/CGuCAD/Beispiele/SelectPolyline/SelectPolyline/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/SelectPolyline/SelectPolyline/Resource.h b/Master/CGuCAD/Beispiele/SelectPolyline/SelectPolyline/Resource.h new file mode 100644 index 0000000..76b10af --- /dev/null +++ b/Master/CGuCAD/Beispiele/SelectPolyline/SelectPolyline/Resource.h @@ -0,0 +1,16 @@ +//{{NO_DEPENDENCIES}}
+// Microsoft Visual C++ generated include file.
+// Used by SelectPolyline.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/SelectPolyline/SelectPolyline/SelectPolyline.cpp b/Master/CGuCAD/Beispiele/SelectPolyline/SelectPolyline/SelectPolyline.cpp new file mode 100644 index 0000000..55817ae --- /dev/null +++ b/Master/CGuCAD/Beispiele/SelectPolyline/SelectPolyline/SelectPolyline.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.
+//
+
+//-----------------------------------------------------------------------------
+//- SelectPolyline.cpp : Initialization functions
+//-----------------------------------------------------------------------------
+#include "StdAfx.h"
+#include "resource.h"
+#include <afxdllx.h>
+
+//-----------------------------------------------------------------------------
+//- Define the sole extension module object.
+AC_IMPLEMENT_EXTENSION_MODULE(SelectPolylineDLL)
+//- 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 SelectPolylineExtDLL ={ 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 ;
+ SelectPolylineDLL.AttachInstance (hInstance) ;
+ InitAcUiDLL () ;
+ } else if ( dwReason == DLL_PROCESS_DETACH ) {
+ SelectPolylineDLL.DetachInstance () ;
+ }
+ return (TRUE) ;
+}
+
diff --git a/Master/CGuCAD/Beispiele/SelectPolyline/SelectPolyline/SelectPolyline.rc b/Master/CGuCAD/Beispiele/SelectPolyline/SelectPolyline/SelectPolyline.rc new file mode 100644 index 0000000..bd2db18 --- /dev/null +++ b/Master/CGuCAD/Beispiele/SelectPolyline/SelectPolyline/SelectPolyline.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", "SelectPolyline ObjectARX application\0"
+ VALUE "FileVersion", "1, 0, 0, 1\0"
+ VALUE "InternalName", "SelectPolyline\0"
+ VALUE "LegalCopyright", "Copyright © 2002\0"
+ VALUE "OriginalFilename", "CGCADSelectPolyline.arx\0"
+ VALUE "ProductName", "SelectPolyline 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 "SelectPolyline"
+END
+
+
+
+/////////////////////////////////////////////////////////////////////////////
+
+#ifndef APSTUDIO_INVOKED
+/////////////////////////////////////////////////////////////////////////////
+//
+// Generated from the TEXTINCLUDE 3 resource.
+//
+/////////////////////////////////////////////////////////////////////////////
+#endif // not APSTUDIO_INVOKED
+
diff --git a/Master/CGuCAD/Beispiele/SelectPolyline/SelectPolyline/SelectPolyline.vcproj b/Master/CGuCAD/Beispiele/SelectPolyline/SelectPolyline/SelectPolyline.vcproj new file mode 100644 index 0000000..8e3566a --- /dev/null +++ b/Master/CGuCAD/Beispiele/SelectPolyline/SelectPolyline/SelectPolyline.vcproj @@ -0,0 +1,269 @@ +<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+ ProjectType="Visual C++"
+ Version="8,00"
+ Name="SelectPolyline"
+ ProjectGUID="{3C769520-0F2E-49FF-8C00-B9C7B3F26933}"
+ >
+ <Platforms>
+ <Platform
+ Name="Win32"
+ />
+ </Platforms>
+ <ToolFiles>
+ </ToolFiles>
+ <Configurations>
+ <Configuration
+ Name="Debug|Win32"
+ OutputDirectory="Debug"
+ IntermediateDirectory="Debug"
+ ConfigurationType="2"
+ UseOfMFC="2"
+ CharacterSet="1"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="0"
+ AdditionalUsingDirectories="E:\cad\Autodesk Civil 3D 2007"
+ PreprocessorDefinitions="WIN32;_WINDOWS;SELECTPOLYLINE_MODULE;_AFXEXT;_ACRXAPP"
+ StringPooling="false"
+ MinimalRebuild="true"
+ BasicRuntimeChecks="3"
+ RuntimeLibrary="2"
+ BufferSecurityCheck="true"
+ TreatWChar_tAsBuiltInType="true"
+ ForceConformanceInForLoopScope="true"
+ RuntimeTypeInfo="true"
+ UsePrecompiledHeader="2"
+ WarningLevel="1"
+ Detect64BitPortabilityProblems="true"
+ DebugInformationFormat="4"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ PreprocessorDefinitions=""
+ Culture="1033"
+ AdditionalIncludeDirectories="$(IntDir)"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ OutputFile="$(outdir)/CGCADSelectPolyline.arx"
+ LinkIncremental="2"
+ LinkDLL="true"
+ GenerateDebugInformation="true"
+ ProgramDatabaseFile="$(OutDir)/SelectPolyline.pdb"
+ SubSystem="2"
+ ImportLibrary="$(OutDir)/SelectPolyline.lib"
+ TargetMachine="1"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCWebDeploymentTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ <Configuration
+ Name="Release|Win32"
+ OutputDirectory="Release"
+ IntermediateDirectory="Release"
+ ConfigurationType="2"
+ UseOfMFC="2"
+ CharacterSet="1"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="2"
+ AdditionalUsingDirectories="E:\cad\Autodesk Civil 3D 2007"
+ PreprocessorDefinitions="WIN32;_WINDOWS;NDEBUG;SELECTPOLYLINE_MODULE;;_AFXEXT;_ACRXAPP"
+ StringPooling="true"
+ MinimalRebuild="false"
+ BasicRuntimeChecks="0"
+ RuntimeLibrary="2"
+ BufferSecurityCheck="true"
+ TreatWChar_tAsBuiltInType="true"
+ ForceConformanceInForLoopScope="true"
+ RuntimeTypeInfo="true"
+ UsePrecompiledHeader="2"
+ WarningLevel="1"
+ Detect64BitPortabilityProblems="true"
+ DebugInformationFormat="0"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ PreprocessorDefinitions="NDEBUG"
+ Culture="1033"
+ AdditionalIncludeDirectories="$(IntDir)"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ OutputFile="$(outdir)/CGCADSelectPolyline.arx"
+ LinkIncremental="2"
+ LinkDLL="true"
+ GenerateDebugInformation="false"
+ ProgramDatabaseFile=""
+ SubSystem="2"
+ ImportLibrary="$(OutDir)/SelectPolyline.lib"
+ TargetMachine="1"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCWebDeploymentTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ </Configurations>
+ <References>
+ </References>
+ <Files>
+ <Filter
+ Name="Source Files"
+ Filter="cpp;c;cc;cxx;def;idl;odl"
+ >
+ <File
+ RelativePath=".\acrxEntryPoint.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\DocData.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\SelectPolyline.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\StdAfx.cpp"
+ >
+ <FileConfiguration
+ Name="Debug|Win32"
+ >
+ <Tool
+ Name="VCCLCompilerTool"
+ UsePrecompiledHeader="1"
+ />
+ </FileConfiguration>
+ <FileConfiguration
+ Name="Release|Win32"
+ >
+ <Tool
+ Name="VCCLCompilerTool"
+ UsePrecompiledHeader="1"
+ />
+ </FileConfiguration>
+ </File>
+ </Filter>
+ <Filter
+ Name="Include Files"
+ Filter="h;hh;hxx"
+ >
+ <File
+ RelativePath=".\DocData.h"
+ >
+ </File>
+ <File
+ RelativePath=".\Resource.h"
+ >
+ </File>
+ <File
+ RelativePath=".\StdAfx.h"
+ >
+ </File>
+ </Filter>
+ <Filter
+ Name="Resource Files"
+ Filter="rc;ico;bmp;cur;jpg;gif"
+ >
+ <File
+ RelativePath=".\SelectPolyline.rc"
+ >
+ </File>
+ </Filter>
+ <Filter
+ Name="Miscellaneous Files"
+ Filter="reg;rgs;mak;clw;vsdir;vsz;css;inf;vcproj;csproj"
+ >
+ </Filter>
+ </Files>
+ <Globals>
+ </Globals>
+</VisualStudioProject>
diff --git a/Master/CGuCAD/Beispiele/SelectPolyline/SelectPolyline/SelectPolyline.vcproj.PC3000-ER.Stefan Wiesmann.user b/Master/CGuCAD/Beispiele/SelectPolyline/SelectPolyline/SelectPolyline.vcproj.PC3000-ER.Stefan Wiesmann.user new file mode 100644 index 0000000..937a54d --- /dev/null +++ b/Master/CGuCAD/Beispiele/SelectPolyline/SelectPolyline/SelectPolyline.vcproj.PC3000-ER.Stefan Wiesmann.user @@ -0,0 +1,65 @@ +<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioUserFile
+ ProjectType="Visual C++"
+ Version="8,00"
+ ShowAllFiles="false"
+ >
+ <Configurations>
+ <Configuration
+ Name="Debug|Win32"
+ >
+ <DebugSettings
+ Command="E:\cad\Autodesk Civil 3D 2007\acad.exe"
+ WorkingDirectory=""
+ CommandArguments=""
+ Attach="false"
+ DebuggerType="3"
+ Remote="1"
+ RemoteMachine="PC3000-ER"
+ RemoteCommand=""
+ HttpUrl=""
+ PDBPath=""
+ SQLDebugging=""
+ Environment=""
+ EnvironmentMerge="true"
+ DebuggerFlavor=""
+ MPIRunCommand=""
+ MPIRunArguments=""
+ MPIRunWorkingDirectory=""
+ ApplicationCommand=""
+ ApplicationArguments=""
+ ShimCommand=""
+ MPIAcceptMode=""
+ MPIAcceptFilter=""
+ />
+ </Configuration>
+ <Configuration
+ Name="Release|Win32"
+ >
+ <DebugSettings
+ Command="E:\cad\Autodesk Civil 3D 2007\acad.exe"
+ WorkingDirectory=""
+ CommandArguments=""
+ Attach="false"
+ DebuggerType="3"
+ Remote="1"
+ RemoteMachine="PC3000-ER"
+ RemoteCommand=""
+ HttpUrl=""
+ PDBPath=""
+ SQLDebugging=""
+ Environment=""
+ EnvironmentMerge="true"
+ DebuggerFlavor=""
+ MPIRunCommand=""
+ MPIRunArguments=""
+ MPIRunWorkingDirectory=""
+ ApplicationCommand=""
+ ApplicationArguments=""
+ ShimCommand=""
+ MPIAcceptMode=""
+ MPIAcceptFilter=""
+ />
+ </Configuration>
+ </Configurations>
+</VisualStudioUserFile>
diff --git a/Master/CGuCAD/Beispiele/SelectPolyline/SelectPolyline/StdAfx.cpp b/Master/CGuCAD/Beispiele/SelectPolyline/SelectPolyline/StdAfx.cpp new file mode 100644 index 0000000..26d0a6a --- /dev/null +++ b/Master/CGuCAD/Beispiele/SelectPolyline/SelectPolyline/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/SelectPolyline/SelectPolyline/StdAfx.h b/Master/CGuCAD/Beispiele/SelectPolyline/SelectPolyline/StdAfx.h new file mode 100644 index 0000000..a6c2d9b --- /dev/null +++ b/Master/CGuCAD/Beispiele/SelectPolyline/SelectPolyline/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 <map>
+
+//-----------------------------------------------------------------------------
+#include <afxwin.h> //- MFC core and standard components
+#include <afxext.h> //- MFC extensions
+
+#ifndef _AFX_NO_OLE_SUPPORT
+#include <afxole.h> //- MFC OLE classes
+#include <afxodlgs.h> //- MFC OLE dialog classes
+#include <afxdisp.h> //- MFC Automation classes
+#endif // _AFX_NO_OLE_SUPPORT
+
+#ifndef _AFX_NO_DB_SUPPORT
+#include <afxdb.h> //- MFC ODBC database classes
+#endif // _AFX_NO_DB_SUPPORT
+
+#ifndef _AFX_NO_DAO_SUPPORT
+#include <afxdao.h> //- MFC DAO database classes
+#endif // _AFX_NO_DAO_SUPPORT
+
+#include <afxdtctl.h> //- MFC support for Internet Explorer 4 Common Controls
+#ifndef _AFX_NO_AFXCMN_SUPPORT
+#include <afxcmn.h> //- 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<CDocData> DocVars ;
+
+#pragma pack (pop)
+
diff --git a/Master/CGuCAD/Beispiele/SelectPolyline/SelectPolyline/acrxEntryPoint.cpp b/Master/CGuCAD/Beispiele/SelectPolyline/SelectPolyline/acrxEntryPoint.cpp new file mode 100644 index 0000000..32bd80d --- /dev/null +++ b/Master/CGuCAD/Beispiele/SelectPolyline/SelectPolyline/acrxEntryPoint.cpp @@ -0,0 +1,183 @@ +// (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 CSelectPolylineApp : public AcRxArxApp {
+
+public:
+ CSelectPolylineApp () : 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 () {
+ }
+
+
+ // - CGCADSelectPolyline.selectPoly command (do not rename)
+ static void CGCADSelectPolylineselectPoly(void)
+ {
+ // Add your code for command CGCADSelectPolyline.selectPoly here
+ ads_name ss;
+ ads_name ent;
+
+ acutPrintf(_T("\nAutomatical Select of all Polylines!"));
+ if (acedSSGet(_T("X"), NULL, NULL, NULL, ss) != RTNORM)
+ {
+ acutPrintf(_T("\nNo selection done"));
+ return;
+ }
+ // Get the length (how many entities were selected)
+ long length = 0;
+ if ((acedSSLength(ss,&length)!= RTNORM)||(length == 0))
+ {
+ acedSSFree(ss);
+ return;
+ }
+
+ // Walk through the selection set and open each entity
+ for (long i = 0; i<length; i++)
+ {
+ if (acedSSName(ss,i,ent)!=RTNORM) continue;
+ AcDbObjectId id = AcDbObjectId::kNull;
+ if (acdbGetObjectId(id,ent)!=Acad::eOk) continue;
+
+ AcDbEntity * pEntity = NULL;
+ AcDbPolyline *pPline;
+ //AcDb2dPolyline *pPline2;
+ AcDb3dPolyline *pPline3;
+
+ if (acdbOpenObject(pEntity,id,AcDb::kForRead) != Acad::eOk)
+ {
+ acutPrintf(_T("\nError opening the entity"));
+ return;
+ }
+
+ // try to cast object to a AcDb(2d/3d)Polyline object
+ int polylineType = 0;
+ if (pEntity->isKindOf(AcDbPolyline::desc()))
+ {
+ pPline = (AcDbPolyline*)pEntity;
+ polylineType = 1;
+ }
+ else if (pEntity->isKindOf(AcDb2dPolyline::desc()))
+ {
+ //pPline2 = (AcDb2dPolyline*)pEntity;
+ polylineType = 2;
+ }
+ else if (pEntity->isKindOf(AcDb3dPolyline::desc()))
+ {
+ pPline3 = (AcDb3dPolyline*)pEntity;
+ polylineType = 3;
+ }
+ else
+ {
+ acutPrintf(_T("\nNo type of AcDbPolyline object selected!"));
+ pEntity->close();
+ continue;
+ }
+
+ int vertexNumber = 0;
+ double bulge = .0;
+ AcDbObjectId vertexObjId = AcDbObjectId::kNull;
+ AcDbObjectIterator *pVertIter = NULL;
+ //AcDb2dVertex *pVertex2;
+ AcDb3dPolylineVertex *pVertex3;
+ AcGePoint3d location;
+
+ switch (polylineType)
+ {
+ case 1: vertexNumber = pPline->numVerts();
+ for (int i=0; i<vertexNumber; i++)
+ {
+ if ((pPline->getPointAt(i,location) == Acad::eOk) &&
+ (pPline->getBulgeAt(i, bulge) == Acad::eOk))
+ acutPrintf(_T("\n1:Vertex #%d's location is: %0.3f, %0.3f, %0.3f with bulge %0.3f"),
+ i,location[X],location[Y],location[Z],bulge);
+ }
+ pPline->close();
+ break;
+ case 2: acutPrintf(_T("\nPolyline2D is detected"));
+ /*
+ pVertIter= pPline2->vertexIterator();
+ for (vertexNumber=0; !pVertIter->done(); vertexNumber++,pVertIter->step())
+ {
+ vertexObjId = pVertIter->objectId();
+ acdbOpenObject(pVertex2, vertexObjId, AcDb::kForRead);
+ location = pVertex2->position();
+ pVertex2->close();
+ acutPrintf(_T("\n2:Vertex #%d's location is: %0.3f, %0.3f, %0.3f"),vertexNumber,
+ location[X],location[Y],location[Z]);
+ }
+ delete pVertIter;
+ */
+ break;
+ case 3: pVertIter= pPline3->vertexIterator();
+ for (vertexNumber=0; !pVertIter->done(); vertexNumber++,pVertIter->step())
+ {
+ vertexObjId = pVertIter->objectId();
+ acdbOpenObject(pVertex3, vertexObjId, AcDb::kForRead);
+ location = pVertex3->position();
+ pVertex3->close();
+ acutPrintf(_T("\n3:Vertex #%d's location is: %0.3f, %0.3f, %0.3f"),vertexNumber,
+ location[X],location[Y],location[Z]);
+ }
+ delete pVertIter;
+ }
+ }
+ // Free selection
+ acedSSFree(ss);
+ }
+};
+
+//-----------------------------------------------------------------------------
+IMPLEMENT_ARX_ENTRYPOINT(CSelectPolylineApp)
+
+ACED_ARXCOMMAND_ENTRY_AUTO(CSelectPolylineApp, CGCADSelectPolyline, selectPoly, lesePolyl, ACRX_CMD_TRANSPARENT, NULL)
diff --git a/Master/CGuCAD/Beispiele/SelectPolyline/SelectPolyline/acrxEntryPoint.err b/Master/CGuCAD/Beispiele/SelectPolyline/SelectPolyline/acrxEntryPoint.err new file mode 100644 index 0000000..d8d67ed --- /dev/null +++ b/Master/CGuCAD/Beispiele/SelectPolyline/SelectPolyline/acrxEntryPoint.err @@ -0,0 +1 @@ +Zeile 184: Fehler: Vorhergehendes Statement nicht abgeschlossen.
diff --git a/Master/CGuCAD/Beispiele/SelectPolyline/Zeichnung1.dwg b/Master/CGuCAD/Beispiele/SelectPolyline/Zeichnung1.dwg Binary files differnew file mode 100644 index 0000000..14c561c --- /dev/null +++ b/Master/CGuCAD/Beispiele/SelectPolyline/Zeichnung1.dwg |
