===============================================================================
(2) Feature elements table
-----------------------------------------------------------------------------------------------
Element Id Element Name Data Type Valid Values
-----------------------------------------------------------------------------------------------
PRO_E_FEATURE_TYPE Feature Type PRO_VALUE_TYPE_INT PRO_FEAT_RM_SURF
PRO_E_STD_FEATURE_NAME Feature Name PRO_VALUE_TYPE_WSTRING Wide character string
PRO_E_RM_SURF_REF_TYPE Reference type PRO_VALUE_TYPE_INT Note-1
PRO_E_RM_SURF_ATTACH_TYPE Attachment type PRO_VALUE_TYPE_INT Note-2
PRO_E_RM_SURF_SRF_REFS Surface references Compound Note-3
PRO_E_STD_SURF_COLLECTION_APPL Exclude surfaces PRO_VALUE_TYPE_SELECTION Note-4
PRO_E_STD_EXCL_CNTRS Exclude loop Array Note-5
PRO_E_RM_SURF_CRV_REFS Curve-chain references Compound Note-6
PRO_E_STD_CURVE_COLLECTION_APPL Chains to remove PRO_VALUE_TYPE_SELECTION Note-7
===============================================================================
(3) Notes
Note-1 : Value type is ProRmSurfRefType. The value of this element determines which
references compound (PRO_E_RM_SURF_SRF_REFS/PRO_E_RM_SURF_CRV_REFS) is visible.
Note-2 : Value type is ProRmSurfAttachType. The value of this element determines whether
the geometry of the feature will created as a separate quilt or will be attached
to the selected surface/quilt.
Note-3 : Compound of surface references.
This element is required if PRO_E_RM_SURF_REF_TYPE is PRO_RM_SURF_SRF_REF.
Note-4 : Select the surfaces to be removed from the part.
Multiple selection allowed. This element is required provided
PRO_E_RM_SURF_SRF_REFS compound is visible. See Note-1.
Note-5 : Array of excluded contours. Optional. See ProExclCntrs.h
Note-6 : Compound of crv references.
This element is required if PRO_E_RM_SURF_REF_TYPE is PRO_RM_SURF_CRV_REF.
Note-7 : Select a single closed loop of one sided edges. This element is required provided
PRO_E_RM_SURF_CRV_REFS compound is visible. See Note-1.
==============================================================================*/
PRO_E_STD_SURF_COLLECTION_APPL Exclude surfaces 是排除曲面的设置,那要移除的曲面在哪设置啊作者: hyccai 时间: 2010-12-30 13:18
高手指点下?还没搞定作者: hust65 时间: 2011-1-5 09:59
沒有實做過,不過也跟CopyGeometry一樣,
PRO_E_STD_SURF_COLLECTION_APPL 是 ProCollection 類型作者: hyccai 时间: 2011-1-8 13:01
谢谢!真是"听君一席话,胜读十年书"啊,
终于搞定了,但是还有一个地方不是很明白,
ProSrfcollinstrAlloc(PRO_SURFCOLL_SINGLE_SURF,PRO_B_FALSE,&srf_coll_instr);
ProSrfcollrefAlloc(PRO_SURFCOLL_REF_SINGLE,srf_ref,&srf_coll_ref);
这两个函数的第一个参数是什么意思作者: hyccai 时间: 2011-1-8 13:12 3#
可不可以加你QQ啊,当然,上班时间不会打扰你的
我QQ:568872281
加我时打上:hust65作者: hyccai 时间: 2011-1-8 13:18
ProSrfcollectionAlloc(&srf_coll);分配内存
..............
ProCollectionFree(&srf_coll);//不能释放内存
???作者: hust65 时间: 2011-1-10 10:13 5#