Article - CS95056
How to retrieve models from a directory other than current working directory through Creo Parametric TOOLKIT, Object TOOLKIT C++, J-Link or VB API
Modified: 12-Dec-2024
Applies To
- Pro/ENGINEER and Creo Elements/Pro Wildfire to Wildfire 5.0
- Creo Parametric 1.0 to 10.0
- Pro/ENGINEER Wildfire TOOLKIT
- Creo Elements/Pro TOOLKIT
- Creo Parametric TOOLKIT
- Creo Parametric Object TOOLKIT C++
- Pro/ENGINEER Wildfire J-Link
- Creo Elements/Pro J-Link
- Creo Parametric J-Link
- Creo Parametric Object TOOLKIT Java
- Pro/ENGINEER Wildfire VB API
- Creo Elements/Pro VB API
- Creo Parametric VB API
- Creo Parametric Web.Link
- Creo Parametric Creo.JS
Description
- How to retrieve models from a directory other than current working directory through Creo Parametric TOOLKIT, Object TOOLKIT C++, J-Link or VB API?
- Unable to retrieve models from directory other than working directory using methods RetrieveModel() and OpenFile().
- Function RetrieveModel() fails with exception pfcExceptions::XToolkitNotFound
- Unable to pass a string longer than 66 characters while using the IpfcModelDescriptor interface.
- pfcExceptions::XStringTooLong is received when model name with full absolute file path is passed to ModelDescriptor object.
- J-Link method RetriveModel() throws exception pfcExceptions$XUnknownModelExtension when the string passed to FileName of ModelDescriptor_CreateFromFileName() contains an empty space or a period.
This is a printer-friendly version of Article 95056 and may be out of date. For the latest version click CS95056