ProE.net

The ProE Network

An Independent Network of Pro/E Users

Members

  • Deelip Menezes
  • Teun Ham
  • nitin pattnaik
  • Amar
  • Sachin Nalawade
  • Chris Bouwman
  • P. W. Becher
  • Steve
  • manny vega
  • Harshavardhini
  • Walter Pilkons
  • HARI BABU
  • Amy Behrens
  • NAREN B. KATE
  • Rami Noah
  • Bethany Moden

PTC News

AMECO Beijing Implements PTC Arbortext To Improve Aircraft Maintenance, Repair And Overhaul Efforts

PTC Arbortext Product Information Delivery Software Enables AMECO to Create, Manage and Deliver Accurate, Timely MRO Information

19th Annual PTC/USER World Event 2008 Draws Record Attendance

ProductView 9.1, Windchill® ProductPoint™ and CoCreate 2008 - newest additions to the PTC Product Development System introduced

AEON Implements PTC® Solutions To Improve Product Planning And Development Process

Japan’s Leading Retailer Strengthens Information Sharing and Collaboration to Increase Sales of Private Brands

ADVIK Hi-Tech Leverages PTC® Pro/ENGINEER® To Speed Entry Into Four-Wheeler Auto-Parts Market

Transition to 3D CAD, use of virtual prototyping reduce product development cycle

Events

 

What is ProE.net?

ProE.net is a global network of Pro/E users. It is a social network where Pro/E users all over the world interact with each other. Use the Forum to discuss issues related to Pro/E and help each other out. Use the Blogs to speak your mind. You can even share Photos and Videos, chat with online users and do a lot more here.

Deelip Menezes
Founder of ProE.net
www.deelip.com

Forum

HARI BABU

Language used for Customisation 1 Reply

Started by HARI BABU in Customization. Last reply by Sachin Nalawade Jun 18.

Walter Pilkons

How do I add a relation to change the BOM qyt in Wildfire 4? 3 Replies

Started by Walter Pilkons in I Need Help. Last reply by HARI BABU Apr 27.

HARI BABU

STANDARD ORIENTATION

Started by HARI BABU in I Need Help Apr 24.

Blog Posts

Deelip Menezes

The 15 Minute Lockout

This post is a humble request to all Pro/ENGINEER developers out there to help me solve an extremely irritating problem. First let me begin by explaining my problem.

Unlike most CAD vendors, PTC does not give away their SDK (Software Development Kit) for free. So if you want to customize Pro/ENGINEER by means of plug-ins you need to purchase a license of something known as Pro/TOOLKIT, basically a C API used to develop what PTC calls auxiliary applications, or plug-ins. As a PTC partner I have… Continue

Posted by Deelip Menezes on July 9, 2009 at 10:30pm

Teun Ham

VBA - Connect to Pro/ENGINEER

This code will connect to a running session of Pro/ENGINEER and will change the Working Directory:

Sub Main()
Dim asynconn As New pfcls.CCpfcAsyncConnection
Dim conn As pfcls.IpfcAsyncConnection
Dim session As pfcls.IpfcBaseSession

'Make an asynchronous connection with Pro/ENGINEER
Set conn = asynconn.Connect("", "", ".", 5)

'Get the current session
Set session = conn.session

'Show the current Working Directory
MsgBox "This is the current Working Directory: " & vbCrLf & session.GetCu… Continue

Posted by Teun Ham on July 8, 2009 at 1:07pm

Teun Ham

VBA - Start a new session of Pro/ENGINEER

The code below will start a new session of Pro/ENGINEER:

Sub Main()
Dim asynconn As pfcls.CCpfcAsyncConnection
Dim conn As pfcls.IpfcAsyncConnection
Dim session As pfcls.IpfcBaseSession
Dim sProE_Start_Location As String

'This the full path to the exe file which will start Pro/ENGINEER
sProE_Start_Location = "C:\ptc\wf4\bin\proe.exe"

'Make an asynchronous connection to a new instance of Pro/ENGINEER
Set asynconn = New CCpfcAsyncConnection
Set conn = asynconn.Start(sProE_Start_Location, ".")… Continue

Posted by Teun Ham on July 8, 2009 at 12:52pm

Teun Ham

VBA - Run a 'mapkey'

The code below shows how to run a 'mapkey'

For this example you will need to have a drawing open in Pro/ENGINEER

Sub Print_Current_Sheet_To_PDF()
Dim asynconn As New pfcls.CCpfcAsyncConnection
Dim conn As pfcls.IpfcAsyncConnection
Dim session As pfcls.IpfcBaseSession

'Make an asynchronous connection with Pro/ENGINEER
Set conn = asynconn.Connect("", "", ".", 5)

'Get the current session
Set session = conn.session

'Define a mapkey string which will perform a ViewRefit
Dim sMacroString As Strin… Continue

Posted by Teun Ham on July 2, 2009 at 4:00pm

Teun Ham

VBA - Open a Pro/E file in a new window

This routine will open a Pro/E file from your WorkingDirectory in a new window:

[code]
Sub Main()
Dim asynconn As New pfcls.CCpfcAsyncConnection
Dim conn As pfcls.IpfcAsyncConnection
Dim session As pfcls.IpfcBaseSession
Dim oModel As pfcls.IpfcModel

'Make an asynchronous connection with Pro/ENGINEER
Set conn = asynconn.Connect("", "", ".", 5)

'Get the current session
Set session = conn.session

'Open a Pro/E Model
Set oModel = Open_ProE_File(session, EpfcMDL_PART, "PRT0001.PRT")

'Show the na… Continue

Posted by Teun Ham on July 2, 2009 at 3:00pm

 
 

About

Deelip Menezes Deelip Menezes created this social network on Ning.

Create your own social network!

 

© 2009   Created by Deelip Menezes on Ning.   Create Your Own Social Network

Badges  |  Report an Issue  |  Privacy  |  Terms of Service

You are Offline Sign in to chat!