Allplan API

Allplan API 설치 - 1/2 (Visual Studio, Allplan API 설치)

홍사훈     2건     1,904회

본문

 

설치에 앞서 Visual Studio 와 Allplan API 그리고 Boost 를 추천 버전에 맞게 준비합니다.

      Visual Studio 버전별 지원 Allplan버전

    - VS 2008      : Allplan 2011, Allplan 2012

    - VS 2010      : Allplan 2013 

    - VS 2012      : Allplan 2014, Allplan 2015 

    - VS 2013 SP2 : Allplan 2016 

    - VS 2015 SP1 : Allplan 2017, Allplan 2018 

    - VS 2017 SP1 : Allplan 2019 

    - VS 2017 (15.9.5 toolset v14.1.6) : Allplan 2019  

 

1. Visual Studio 설치 (여기선 Visual Studio 2012버전으로 설명하며, 설치과정은 간단하므로 생략합니다.)

  3be42b0173eefe8c1e8fa521ca010018_1429955
 

2. Allplan API 설치 (여기선 Allplan API 2015 버전으로 설명하며, 설치과정은 간단하므로 생략합니다.)

  3be42b0173eefe8c1e8fa521ca010018_1429956
 

3. Visual Studio에 템플릿 추가

  1) 별도의 설정을 하지 않았다면, 기본적으로 C:\Program Files (x86)\Nemetschek Allplan Systems GmbH\Allplan API x64 2015 디렉토리로 API  관련 파일들이 저당됩니다. 각 디렉토리가 정상적으로 들어와있는지 확인합니다.

  3be42b0173eefe8c1e8fa521ca010018_1429956 

- Documentation : Allplan API 관련 문서가 들어있는 디렉토리입니다.

- Examples       : Sample 코드가 들어있는 디렉토리 입니다.

- Include          : 프로젝트를 컴파일하기 위한 헤더파일이 들어있는 디렉토리 입니다.

- Lib               : 프로젝트를 연결하기 위한 라이브러리가 들어있는 디렉토리입니다.

- Tools            : 새 프로젝트를 만들 수 있는 템플릿이 들어있는 디렉토리 입니다.

-XML

 

  2) Visual Studio 실제 버전확인

버전

설치 폴더

실제 버전

Visual Studio 2008

C:\Program Files (x86)\Microsoft Visual Studio 9.0\

9.0

Visual Studio 2010

C:\Program Files (x86)\Microsoft Visual Studio 10.0\

10.0

Visual Studio 2012

C:\Program Files (x86)\Microsoft Visual Studio 11.0\

11.0

Visual Studio 2013

C:\Program Files (x86)\Microsoft Visual Studio 12.0\

12.0

 

  3) '1)'에서 \Tools\NemAllplanAPIWizard 폴더를 Visual Studio가 설치된 폴더 (C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\vcprojects"로 복사합니다.

   3be42b0173eefe8c1e8fa521ca010018_1429957 

 

  4) Visual Studio 의 실제 버전이 9.0이 아닌경우, NemAllplanAPIWizard 폴더안에 NemAllplanAPIDllWiz.vsz 파일을 수정해주어야 합니다.

     메모장등의 텍스트 편집프로그램을 이용하여 NemAllplanAPIDllWiz.vsz파일을 불러온후 "Wizard=VsWizard.VsWizardEngine.9.0​ 의 9.0을 설치한 버전으로 바꾸어 줍니다.

VSWIZARD 7.0

Wizard=VsWizard.VsWizardEngine.9.0

Param="WIZARD_NAME = NemAllplanAPIDllWiz"

Param="RELATIVE_PATH = vcprojects\NemAllplanAPIWizard"

Param="FALLBACK_LCID = 1033"

 

 

  5) ​Visual Studio를 실행 후 "새 프로젝트"를 실행하면, 아래 그림과 같이 NemAllplan API Wizard가 추가된것을 확인하실수 있습니다.

    3be42b0173eefe8c1e8fa521ca010018_1429957
 

 

홍사훈님의 댓글

홍사훈

VS버전 : Visual Studio 2015
설치폴더 : C:\Program Files (x86)\Microsoft Visual Studio 14.0\
실제 버전 : 14.0

홍사훈님의 댓글

홍사훈

VS버전 : Visual Studio 2017
설치폴더 : C:\Program Files (x86)\Microsoft Visual Studio 15.0\
실제 버전 : 15.0



Copyrightⓡ1996~2024, sahoon.com All Rights Reserved.