def add3dview():
    print ("--- Add 3D map ---")
    #--->注:加载三维发布的.unity3d文件,替换成对应的工程ID
    is3.addView3d('Map3D', 'iS3DemoTest.unity3d')    
    return
def add3dview():
    is3.addView3d('Map3D', '1.unity3d')
    is3.addView3d('Map3D', '2.unity3d')
Exemple #3
0
def add3dview():
    is3.addView3d('Map3D', 'Test.unity3d')
# -*- coding:gb2312 -*-
import is3
#is3.mainframe.LoadProject('iS3DemoTest.xml')
is3.prj = is3.mainframe.prj
#is3.MainframeWrapper.loadDomainPanels()
# for emap in is3.prj.projDef.EngineeringMaps:
# is3.MainframeWrapper.addView(emap)
is3.addView3d('Map3D', 'iS3DemoTest.unity3d')
#is3.addView3d('Map3D', 'LaoYingBIM.exe')