/// <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); }
/// <summary> /// 设置用户自定义属性到Tekla的视图对象中; /// </summary> /// <param name="vie"></param> protected void SetDimProperty(TSD.View view) { view.SetUserProperty(CCommonPara.mDimPropKey, CCommonPara.mUserPropValue); }