Allplan VisulScript/Python

PythonPart 파일구성

홍사훈     0건     1,072회

본문

PythonPart를 시작하기에 앞서 파일 구성을 설명드리겠습니다. 

PythonPart는 pyd, png, pyp, py 이 네개의 파일로 구성되어 있습니다.

 

*.pyd

 타 언어와 연동을 위한pyd 파일입니다. Allplan에서는 기본적으로,

     NemAll_Python_AllplanSettings.pyd

     NemAll_Python_Elements.pyd

     NemAll_Python_Geometry.pyd

     NemAll_Python_IFW_Input.pyd

     NemAll_Python_Palette.pyd

     NemAll_Python_Reinforcement.pyd

     NemAll_Python_Utility.pyd

7개의 파일을 제공합니다. 파일들은 "C:\Program Files\Allplan\Allplan 2016\Prg\" 폴더에 있습니다.

 

*.png

 PythonPart아이콘이며 *.pyp파일과 같은 위치에 존제하며, 파일명 또한 같아야 합니다. (128x128픽셀)

    c511c46ae0feeaad97f08ea307d5a6a8_1459680 

*.pyp

 PythonPart Script와 사용유저간의 의사소통을 위한 대화창 및 Script 연결을 위한 파일입니다.

 Xml 형식을 가지고 있습니다.

 

*.py

 실제 PythonPart Script가 있는 파일입니다. 파일 위치는 

C:\ProgramData\Nemetschek\Allplan\2016\Etc\PythonPartsScripts 

C:\Data\Allplan\Prj\프로젝트명.prj\PythonPartsScripts

C:\Data\Allplan\Std\PythonPartsScripts

 위 세곳중 한곳에 위치하여야만 사용하실수 있습니다.

 

 

 

등록된 댓글이 없습니다.



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