iFeatures

iFeatures

Anonymous
Not applicable
282 Views
1 Reply
Message 1 of 2

iFeatures

Anonymous
Not applicable
Hi everyone,

I'm trying to add a iFeature. I use the following code :



/// ADD

CComPtr piFeatureDefinition;
_bstr_t bstrFileName="C:\\iFeature1.ide";
hr=piFeatureComponents->CreateDefinition( bstrFileName, &piFeatureDefinition); // SUCCESS

//CComPtr piFeatureInputs;
//piFeatureInputs=piFeatureDefinition->GetiFeatureInputs();
//nCount=piFeatureInputs->GetCount();

CComPtr piFeatureComponent;
hr=piFeatureComponents->Add( piFeatureDefinition, &piFeatureComponent); // FAILED


Missing something ? Something wrong ?

My iFeature has non parameter. How can I indicate the plane where put it ( {"Pick Profile Plane" (1)} ?

Thankyou in advance.

Ezio
0 Likes
283 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable

The programming help has a few iFeature-related
code samples. Have you looked at those?

 

Sanjay-
0 Likes