Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X
You are not alone. I was thrown into working with Pro/Toolkit and man... what a learning curve. Especially without any formal training on Pro/E, Pro/Toolkit, or C.
I am currently attempting to port the C Toolkit codeover to VB, and the VB API documention isfairly sparse in parts. Google isn't your friend either, since most searches return only two hits: the WF4 and WF5 VB API PDFs.
Ah well... weforge ahead, because when it works, it's cool.
As the whole Windchill suite of products are Java based a Creo Java API seems obvious as well as the C++ API.
Not sure about the VB. Might have been thrown in due to PTC's close relations with Microsoft. Only runs asynchronous.
The WebLink API is only valid in the embedded browser running in the same memory space. So the new options in Creo elements/Pro to run the browser in seperate memory space or use Firefox effectively disables WebLink.
I see VB and WebLink as very weak candidates for surviving the Creo transition and only have a few WebLink applications to reinvent.
If PTC want to licens the Java API they definately have to throw in the full functionality as we have in Pro/TOOLKIT today and even extend it to cover much more of the functionality availablethrough the interactive UI.
Perhaps these new APIs could be role based as well, so you only get the functionality availble in the apps you use.
Bjarne Frandsen
In Reply to Patrick Williams:
The Customization TC has discussed this very topic at length with PTC and
basically it comes down to Joe's point. Pro/TOOLKIT and it's advanced
capabilities over the PFC APIs is a revenue stream of license purchases
and maintenance which amounts to a significant dollar figure. However;
this argument will soon be over. With the CREO product, PTC is changing
it's direction on APIs and they won't be supporting the 4 APIs that
currently exist today (Pro/TOOLKIT, J-Link, WebLink, VB API). They will
only be supporting a single API which will reduce and consolidate their
efforts of development and support. There are two sides to this coin.
1) User's who extensively use the APIs that are going away will have to
migrate their programs and possibly be paying for new licenses of the
supported API.
2) The community will get much better support and development activities
because of the consolidation of effort.
I, for one, am in favor of this move because the TC has for years
complained about the lag of support in the APIs for functionality that was
readily available in the standard UI. Hopefully with the CREO
architecture, ALL of the applications will be built on top of this API
much like a .NET Framework or JRE. It definitely coincides with the claim
that CREO is open, per Brian Shepard in the CREO launch webcast.
PATRICK S WILLIAMS
Information Technology
Mechanical Engr Solutions
Missile Systems
Raytheon Company
+1 520.545.6995 (office)
+1 520.446.0244 (pager)
+1 520.545.6399 (fax)
-
6221 S Palo Verde Rd
Tucson, AZ 85706-5093 USA
www.raytheon.com
Follow Raytheon On
This message contains information that may be confidential and privileged.
Unless you are the addressee (or authorized to receive mail for the
addressee), you should not use, copy or disclose to anyone this message or
any information contained in this message. If you have received this
message in error, please so advise the sender by reply e-mail and delete
this message. Thank you for your cooperation.
When will the language decision be released?
I am finishing an Intro VB.net course this semester, and was planning to move on to the next, more-advanced course next semester. I don't want to be wasting my time. My plan was to update my Excel VBA die design program, which communicates with Pro/E through text files, to VB.net, and communicate with Excel and Pro/E directly through Visual Studio using VSTO.
How can anyone make reasonable plans with PTC jerking them around like this?
Hi all,
Sorry, I did not mean to start a new thread with my email post. I thought my email would be appended to this thread. Whoever is in charge, please move it here. My post was:
Can we get back to the point here? You guys who have access to Toolkit are all set. Those of us who do not (and could never get our administrations to ante up $20K - probably not even $20) are the ones who are really on the edge of the universe all alone. The Pro/E free APIs gave us at least some entry into the game, to construct our modest applications. Now PTC wants to take even that away from us. They only provided the free APIs to answer the challenge from Solidworks and Inventor, which provided free MS VBA APIs (akin to Excel VBA, the most popular engineering programming API in the world). And the Java Jlink API seemed like a viable alternative, until one considers that it does not work with the MS Office applications via Visual Studio. And there is no literature base for Java in conjunction with Visual Studio - there is no market for it. Microsoft has discontinued J# (their interim version of Java) according to Wikipedia, so those of us who work with Excel (and most engineering programmers do), have no alternative.
If PTC wanted to consolidate their languages, why didn't they provide a free C# API? I have heard that it is a virtual copy of Java (which would be similar to supporting Jlink), and it is a native, supported language within Visual Studio, which works with MS Office (and, obviously, Excel) through VSTO.
Regards,
Dave Rosenbaum
Patrick,
The point is not the language choice - it is accessibility to Excel (and the other Microsoft Office products)via Visual Studio through VSTO. If Pro/E provided a free C++ API, I would be taking a course in C++ right now, instead of VB.net. VB.net was more advantageous, I'll admit, because my existing Excel VBA code is more easily converted. But I would have settled for C++, because C++ is a supported, native language within Visual Studio, accessible to the MS Office products via VSTO.
I get that Microsoft provides these freebies as a hook, but I don't have the luxory of battling Microsoft. I need something that works for my situation.
But the point is that I can't get access to Toolkit. If Pro/E provides a free C++ API, which is accessible through Visual Studio, then, of course, I would compromise for that. But you haven't said that, as far as I can understand your post.
Regards,
Dave Rosenbaum
Patrick,
Perhaps it is my limited IT educational background - I am a mechanical engineer who does programming.But the only accessibility to MS Office is through VSTO (Visual Studio Tools for Office), which I was planning to study next. If there is another way to do this, I don't know about it, and I don't know where to go to learn about it.
Regards,
Dave Rosenbaum
Joe,
As for JExcel, I looked that up, and it is a hook to the .com framework version of Excel. This product, like Excel VBA, is doomed to obsolesence, because it uses the old .com framework. I need access to the Excel object model, and I need to take programming variables (primarily dimensions) calculated in an Excel program, presumably running through Visual Studio, and pass them to the Pro/E object model somehow. I had planned to use the Pro/E Visual Basic API, which was accessible, through the connection mechanism, from Visual Studio. What can I use now, if PTC eliminates this?
As for Apache POI, I don't really know what that is. Can it work through Visual Studio?
Regards,
Dave Rosenbaum