Reg : CAA usecase for CreateExtractSolide

Kalyan N

Reg : CAA usecase for CreateExtractSolide

Deal All,

I'm trying to use CreateExtractSolide. For this input argument is CATISpecObject. But, I have CATFace, which I need to extract.
In Below shown code, spExtractspec is returning as NULL. 
Can anyone help me out in this regards please. Thank you in advance.

CATFace_var pFace(FacesList[i]);

const CATIGSMExtractSolidePropag Proptype = ExtractSolide_TangentPropag;
CATISpecObject_var spExtractspec(pFace);
CATISpecObject_var spExtract = spGsmFact->CreateExtractSolide(spExtractspec, Proptype);

CATIGSMProceduralView_var curobj = spExtract;
if (NULL_var != curobj) {
rc = curobj->InsertInProceduralView();
spExtract->Update();

Regards

NKalyan

Marc A Jeeves

RE: Reg : CAA usecase for CreateExtractSolide
(in response to Kalyan N)

Morning I'm not a CAA expert, in VBA and EKL we have to define the propagation mode I don't see that in your example, neither do I see where you want to insert it, again in VBA and EKL we have to specify the container its going to go into.

 

Thanks

Madaxe

Kalyan N

RE: Reg : CAA usecase for CreateExtractSolide
(in response to Marc A Jeeves)

Hi Marc, Thank you for your time for adding your comments. In the code I have defined a variable Proptype which represents the Propagation mode as ExtractSolide_TangentPropag.

Regards

NKalyan

Kalyan N

RE: Reg : CAA usecase for CreateExtractSolide
(in response to Kalyan N)

It got solved..For Reference..

Edited By:
Kalyan N[Subscriber Members] @ Sep 02, 2022 - 01:01 PM (Asia/Calcutta)