Continue to Site

Welcome to MCAD Central

Join our MCAD Central community forums, the largest resource for MCAD (Mechanical Computer-Aided Design) professionals, including files, forums, jobs, articles, calendar, and more.

VB.Net

Hi Gvi garu,


Is it VB.NET or .Net..As per my knowledge is convern you can't use any VB with Pro-Engineer.Either you can use VC++6.0 or .Net.


Let me know if you came across any application used using the VB platform.


With regards,


Kishore V
 
Yes, I use .NET (C# or .NET) with combination with Automation Gateway or with exported dll functions (WF1 and later)

The main question is what you expect from using VB.NET and how do you want to call ProE functions
 
i am interested in Visual basic 2005 to be more explicit because i am familiar with it (from Catia). I wanna try do do some stuff (beginner level)...and in time i will learn to do more.
My problem is that i don't know what libraries (api, com) i have to load 2 communicate with proe and.

I search the net for examples but ...nothing. All results are java, c++, c# and i am not familiar with this languages.

Any reference or example will be more than welcome.

Thanks.
 
PTC does not provide any libraries that you can directly link with VB or VB .NET. PTC only provides C and Java APIs.
 
I created a dlllibraryof 100+ functions very similar to the AG and accessed themfrom vb.net through interop. This was difficult but worthwhile.


Wildfire 4.0 is supposed to have a Visual basic APIand should make my custom stuff obsolete and add dozens of additional fuctions.


[url]http://www.ptc.com/appserver/wcms/relnotes/note.jsp?&im_ dbkey=51392&icg_dbkey=826[/url]
<H2>Visual Basic Application Programming Interface (API)</H2>


Pro/ENGINEER Wildfire 4.0 introduces a new programming interface for Visual Basic.


Description


A new Parametric Foundation Classes (PFC) based Visual Basic API is available in Wildfire 4.0. Users versed in Visual Basic programming can use this new API to automate and customize Pro/ENGINEER from Visual Basic.NET applications and Visual Basic macros in applications like Microsoft Word, Excel or Access.


The Visual Basic API:
<UL>
<LI>Contains the same capabilities as asynchronous J-Link (core Pro/ENGINEER part, assembly, and drawing manipulation; Windchill server access; data exchange; Pro/ENGINEER user interface customization and applications triggered by events occurring in the Pro/ENGINEER session)
<LI>Is compatible with Visual Basic .NET 2005 and Visual Basic for Applications
<LI>Can be used to transfer data between drawings and OLE objects embedded in Pro/ENGINEEER drawings, such as Excel spreadsheets
<LI>Requires no license beyond the license to run Pro/ENGINEER</LI>[/list]


Benefits


Users already familiar with Visual Basic will find this API easier to use than less familiar APIs. Users may apply this API to transfer information between Pro/ENGINEER and other Windows applications with Visual Basic APIs.
 

Sponsor

Back
Top