Hi everybody,
I am working with HyperMesh using its External C/C++ API with Visual Studio 2005. I would just like to import a .stp model and after that process it. But I can not get it to import the required file. This is how I have tried so far:
bool model = false;
model = hm_api->ImportModel (HM_ExtAPI::STEP, 'E:\WAP09Celsius1_Lucian\Verformungsmodell\99_Daten_CATPart\00_Werkstueck_eingriff.stp', true);
printf('model = %d \n', model);
for which the output is simply:
model = 0
And by using:
hm_api->RunHMTclString ('*feinputwithdata2 #granite\step E:/WAP09Celsius1_Lucian/Verformungsmodell/99_Daten_CATPart/00_Werkstueck_eingriff.stp 1 0 -0.01 0 0 1 1 1 0');
with the following output:
Error: reader is not supported on this platform.
Tcl/Tk script error:
0
while executing
'*feinputwithdata2 #granitestep E:/WAP09Celsius1_Lucian/Verformungsmodell/99_Daten_CATPart/00_Werkstueck_eingriff.stp 1 0 -0.01 0 0 1 1 1 0'
Any advice is helpful.
Cheers,
Lucian.
--