/// <summary>
        /// 初始化前视图;
        /// </summary>
        private void InitFrontView()
        {
            if (mFrontView == null)
            {
                return;
            }

            mBeamFrontView = new CBeamDoorFrontView(mFrontView, CDimManager.GetInstance().GetModel());
            mBeamFrontView.InitFrontView();
            mrPartList = mBeamFrontView.GetMrPartList();
            mFrontView.SetUserProperty(CCommonPara.mAutoSectionPropKey, CCommonPara.mUserPropValue);
        }
示例#2
0
 /// <summary>
 /// 设置用户自定义属性到Tekla的视图对象中;
 /// </summary>
 /// <param name="vie"></param>
 protected void SetDimProperty(TSD.View view)
 {
     view.SetUserProperty(CCommonPara.mDimPropKey, CCommonPara.mUserPropValue);
 }