VBA API IN CREO
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
VBA API IN CREO
Hello ,
I am new to Creo, I am expert in solidworks vba API, Now i want to learn creo API.
Can any one tell me how i can open vba environment in creo, is there need to purchase any special license.
Thanks in advance
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hello Ganesh,
- Like SolidWorks, CREO doesn't have own VB Environment, But Creo having VB Libraries with Limited functions to access CREO tools. It is free only. VB API only works with Asynchronously in CREO. So need to develop your external environment through MS Office VBA or Visual Studio VB.NET.
- To work Synchronously with CREO, you need to use CREO Toolkit (C/C++) or J-Link (Java). which also does not contains own Environment. You can access maximum functionality in CREO with these tools. Also you can use ProWebLink for Web Environment.
- CREO Toolkit required Costlier License. J-Link is Free License.
- Access the VB API User Guide, Sample files from CREO Installation Folder. Path looks like this C:\PTC\Creo2-amd64-M120\Creo 2.0\Common Files\M120\vbapi
href="https://www.linkedin.com/in/parthiban-kannan/" target="_blank"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
There is no VBA environment in Creo. The Creo VB API is accessible from other applications, including VBA. I b believe there is no VBA-specific interface.
This may be of use: VB-API and Excel VBA
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hello Ganesh,
- Like SolidWorks, CREO doesn't have own VB Environment, But Creo having VB Libraries with Limited functions to access CREO tools. It is free only. VB API only works with Asynchronously in CREO. So need to develop your external environment through MS Office VBA or Visual Studio VB.NET.
- To work Synchronously with CREO, you need to use CREO Toolkit (C/C++) or J-Link (Java). which also does not contains own Environment. You can access maximum functionality in CREO with these tools. Also you can use ProWebLink for Web Environment.
- CREO Toolkit required Costlier License. J-Link is Free License.
- Access the VB API User Guide, Sample files from CREO Installation Folder. Path looks like this C:\PTC\Creo2-amd64-M120\Creo 2.0\Common Files\M120\vbapi
href="https://www.linkedin.com/in/parthiban-kannan/" target="_blank"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Thank you pathiban kannan,
How do i connect MS Office VBA to creo vb libraries to access creo command.
Thanks in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
In the VBA code editor - look for Tools -> References. Chose the Creo libraries.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
i m trying to find creo libraries from list.
is there any presetting required to add creo libraries in list.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
They are installed when Creo was installed, if the option was selected.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hello Ganesh,
Before proceed to work with VB API, Read this article
href="https://www.linkedin.com/in/parthiban-kannan/" target="_blank"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
I'm a litle confuse about creating macros in creo.
I read that there is a few possible languages.
Vba
J-link
J-link Toolkit
Object Toolkit
Are they available in the creo license?
Do we need third part softwares?
Is it possible creo to record some macros? If yes in which language?
I didn't found much information about writing api in creo, can you show me an active forum of creo api?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi,
to find basic information abour Creo mapkeys, please read http://support.ptc.com/help/creo/creo_pma/usascii/index.html#page/fundamentals/fundamentals/fund_five_sub/About_Mapkeys.html page.
Martin Hanák
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi Sir,
I am not able to open this file its shows error while opening could you pl. guide me i also didn't find any options of Creo references in the excel.
Thanks in advance.
Regards,
Shubham Mehta
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
How did you set up creo to be able to find the required reference in excel tool? I have the same issue I cannot find any creo library reference, I have follow the required installation but so far I have no luck to find any reference on my macro tools.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
How did you set up Creo to be able to find the required reference in excel tool? I have the same issue I cannot find any creo library reference, I have follow the required installation but so far I have no luck to find any reference on my macro tools.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi,
Run / Execute the batch file \Parametric\bin\vb_api_register.bat to register PTC Creo Parametric VB API type COM library.
- Note: Needs Administrative level elevated privilege for successful registration. So, execute the batch file as Run as Administrator.
Martin Hanák
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
I'll try it. Thank you Sir.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
i've a few questions:
-I'm getting started to creo, what language do you recommend me to start looking for create my api?
-is there any api by vb.net for creo? do we program it by visual studio?
-I read somewhere that vba will be progressively removed from creo. Is it correct?
-Where I can found the main functions accessible by vba
-Where I can get some tutorials to get started?
