export a step file with weblink
Who can help me im trying to export a STEP filewith weblink in wf 3.0. But when i use this function it's given me an error like [object type].
function ExportSTP(model){
try
{
var exportflag = new pfcCreate ("pfcGeometryFlags").Create();
var modelexport = new pfcCreate("pfcAssemblyConfiguration").EXPORT_ASM_SINGLE_FILE;
exportflag.AsSolids = true;
var STPexport = new pfcCreate("pfcSTEP3DExportInstructions").Create(modelexport, exportflag);
var naam = model + ".stp";
CurModel.Export(naam, STPexport);
}
catch(err){
alert("Kan tekening niet Exporteren naar STP reden: " +err );
}
}
This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.

