Tag: mechanicalengineers

Programatically select a component from an assembly in Creo Parametric using VB API

We can programmatically select any component from an assembly using VB API in Creo Parametric. Here the procedure to follow Get base session from AsyncConnection Get the Current model from the base session Convert the model into solid List out the solid items and select the components using the index of the component or Select…
Read more

Interactively selecting objects from Creo Parametric using VB API

Creo VB API allows selecting objects from Creo Parametric interactively. The object may be a point, axis, datum, part, assembly, or any creo parametric objects. Here the procedure to call it in program Get a base session from the Async connection Create Select Options Set the maximum number of items to select Set objects to…
Read more

Displaying Message in the Creo Parametric using VB API

Displaying message in the Creo Parametric is one of the vital element to interact with the user. Consider if the designer doing some activity in the model but your application should warn them or inform them to advise some operations. In such cases, we need to show the message to the user via the Creo…
Read more

List out Files from the Directory using Session Objects in VB API

Creo Parametric VB API allows the user to get the list of files available in the directory. Let’s check how it is working with the sample code. Steps to follow Create a IpfcAsyncConnection Create a IpfcBaseSession Retrieve the session from IpfcAsyncConnection Get the files by passing the arguments File Version, If any custom version, and…
Read more

Troubleshooting VB API Application during Creo Start & Connect

Here the general guide to troubleshooting VB API application while starting and connecting Creo Parametric. The common error during Creo Start and Creo Connect command is as follows. XToolkitNotFound Make sure the command is correct. Make sure the executable or script path $PATH is set correctly. Try full path of Creo Parametric in the command.…
Read more

Contact Us