I tried with a mapkey and did not have much luck. So if you figure it out, let us know.
Re: mapkey to fix all the views
Re: How to transfer only specific required mapkey from one config.pro to other config.pro ?
Vinit,
below you can find some examples...
If the mapkey has n lines (n>1) then:
- lines 1..n-1 end with backslash character
- lines 2...n start with mapkey(continued)
!*** close window ... 3 lines
mapkey ww ~ Select `main_dlg_cur` `appl_casc`;\
mapkey(continued) ~ Activate `main_dlg_cur` `main_dlg_cur`;~ Close `main_dlg_cur` `appl_casc`;\
mapkey(continued) ~ Command `ProCmdWinCloseGroup`;
!*** erase not displayed ... 2 lines
mapkey ee ~ Close `main_dlg_cur` `appl_casc`;\
mapkey(continued) ~ Command `ProCmdModelEraseNotDisp` ;~ Activate `file_erase_nd` `ok_pb`;
!*** close window, erase not displayed ... 1 line
mapkey qq %ww;%ee
Martin Hanak
Re: Parallels Problems
Zoe,
if you need to select more than 1 reference, press CTRL key during selection.
Martin Hanak
Creo/WF5 - VBA for ProE applications - cannot connect to opened session
Hello everyone and anyone, im a mech. eng. trying to create some applications for proengineer that can be ran from an excel file. Im looking for some insight into possible problems as to why i cant connect to a proe already opened session, which is basically the first in every tutorial...
My code thus far is very rudimentary yet i cannot get past the initial connection:
Sub proe_connect_to_opened_session()
Dim class_AsyncConn As IpfcAsyncConnection
Dim func_AsyncConn As pfcls.CCpfcAsyncConnection
Set func_AsyncConn = New CCpfcAsyncConnection
Set class_AsyncConn = func_AsyncConn.Connect("", "", ".", 5)
End Sub
I have "traced" the problem using breakpoints, and the crashing line is the last Set. The error for me is very generic in nature:
Run-time error '-2147352567 (8002009)':
Automation error
Exception occurred.
Lookin in WinError.h, i didnt find any explanation:
//
// MessageId: DISP_E_EXCEPTION
//
// MessageText:
//
// Exception occurred.
//
#define DISP_E_EXCEPTION _HRESULT_TYPEDEF_(0x80020009L)
Microsoft says ..VSConstants::DISP_E_EXCEPTION Field:
This return value indicates that the call generated an exception. The usual implementation is to specify that an argument of the method that returned this error is a pointer to a structure that contains exception information.
But i cannot dig any deeper than this, i dont know how to check for the pointer and the exception.
I have set the PRO_COMM_MSG_EXE and PRO_DIRECTORY global variables and registered the server with vb_api_register.bat. Nmsd.exe and pro_com_msg.exe are also running and while running the code it also opens pfclscom.exe for a while.
If i have not lost your interest until this point by making you read so much, please offer some insight as to why this is happening and how can it be made to work properly.
Thank you very much : )
Re: Need Help Understanding How to Update Central Catalog in Creo Schematics
Ok, I should have realized that I'm wasn't going to be able to garner enough information from the Creo Schematics Help Center to be be confident that I'm grasping these concepts well enough. I've been able to find the answer to this; but, I had to dig really deep to find it. I suppose if I'm going to express some frustration, it should be directed at the Help Center, which seems to be perpetually inadequate for this depth of topic.
Re: Toggle Chamfer On/Off with family table
Right now I am sticking with my work around (i.e. a minuscule chamfer that "cannot" be seen in the vendor drawing).
Re: Toggle Chamfer On/Off with family table
Seems you should be able to toggle feature features. Shame these little details were not written in the software performance specifications.
Re: Toggle Chamfer On/Off with family table
Performs as expected
Re: Fatal error message
Thank you, super helpful!!!!
Re: GPost of CREO for machine DMG-Mori NLX2500Y700
Binh,
Although you probably will not find a post that you can download and that works perfectly without editing, there are few things that might help you out. The link below will bring you to the PTC GPOST Central Resource page. Although this site has not been updated in years (2004-2005), it still has a lot of useful information regarding post processors. There is a link on the bottom of this page titled "PRODUCTION POSTPROCESSORS". This will bring you to a page that has a few dozen downloadable posts. These are a great place to start and you may find one that gets you 90% of the way there. There are also a lot of useful training presentations and other files, so make sure to browse through all of the links.
http://support.ptc.com/cs/cs_26/howto/ncgp4903/ncgp4903.htm
--
Dhinesh
Re: Simp Rep Not Working!
Alan,
PROE_FoundationAdv license contains ASSY_PERFORMANCE module. This license enables you to create SimpRep in ASSY.
PROE_Foundation license does not contain ASSY_PERFORMANCE module. This license does not enable you to create SimpRep in ASSY.
Test:
Launch Creo and click File > Help > System information.
In License Information section check License Name line.
If it contains PROE_FoundationAdv, then you can create SimpRep in ASSY.
Your parametric.psf contains the following line:
ENV=CREOPMA_FEATURE_NAME=PROE_FoundationAdv PROE_Foundation ()
This means that Creo tries to get PROE_FoundationAdv license during startup. If PROE_FoundationAdv license is in use, then Creo automatically tries to get PROE_Foundation license during startup. If PROE_Foundation license is also in use, then Creo informs you that there is no free license.
Try to change the above mentioned line to the following one:
ENV=CREOPMA_FEATURE_NAME=PROE_FoundationAdv ()
After this change you will always launch Creo with the proper license.
Martin Hanak
Re: Simp Rep Not Working!
Many thanks Martin.
I don't have that that module for Creo2. I tried your change but to no avail.
I did not realise SimpRep was an extra. It is something I use only rarely (hence why I have only just noticed!), mainly from a drawing perspective.
You would of thought this would be a standard function - but this is PTC I guess.
Thanks for your help anyway
Alan
Re: Simp Rep Not Working!
Alan,
if I understand you well, then you do not need to continue this discussion.
BTW ... it looks like only part of Creo licenses has active maintenance.
Martin Hanak
delete the mapkey from config.pro but when import it again came back?
Dear All,
I made a config.pro file it has so many mapkeys but one of the key i made like " 1 " for plane on/off ,now i want to delete it from my config.pro .
but everytime when i delete it came again .
i checked the notepad file to delete from there but there that mapkey not found
Please help what to do?
Thanks
Manish
Exporting a DXF with Shaded Views
Hey Community,
I was just trying to export a dxf for a vendor with the view display being, "Shaded" , or "Shaded with Edges" Is there a special setting or procurement that I have to do in order for this to work? If I run a "No Hidden" view display, I do get the dxf to show correctly, but I would like to do this with the "Shaded." Can someone please help me out, or let me know what I have to do? I thought maybe it had something to do with the color maps, but I am not sure.
I also noticed that if I have a picture embedded in the model it doesn't like to export as a .png file when trying to do the export. Can I have this export as a png in my dxf also with a setting change??
Thank you,
Brock
Re: Exporting a DXF with Shaded Views
I am trying to accomplish the same thing. We have drawings with shaded views on them and our vendors and distributors need access to these Pro/E drawings but they don't have Pro/E. One tool we use is LinkAccess by Fishbowl Solutions to convert the Pro/E drawing to either dwg or dxf and for some reason the shaded views don't get exported from Pro/E, they just don't show up in the dxf when I try to open the exported dxf within Pro/E.
We have 1 distributor that uses Draftsight and when they open an exported dwg file, there's a place holder for a .png file where the shaded view should be and the error in Draftsight says, "File not found - blahblahblah.png"
If anyone could help it would be appreciated.
Re: delete the mapkey from config.pro but when import it again came back?
PTC reads multiple files to load options, such as mapkeys. You may have removed it from one config.pro, but not from other locations. There are several config.pro files in different locations.
Open the Options. There is a view that says Current Session. This should be the top of a drop down that lists all the files that are the source of current options. Change from one to the next until you see the mapkey you are interested in, which will tell which file you need to edit.
To make things easier, create a separate file called mapkey.txt. Then move all the mapkey definitions to that file. Finally create a mapkey that loads opens the options using mapkey.txt and store it in config.pro. Any new mapkeys can be saved in mapkey.txt; PTC appends the mapkey definitions to the file.
Re: Exporting a DXF with Shaded Views
Not sure if DXF format supports bitmaps, but DWG 2007 file format or maybe even DWG 2004 file format sure do support bitmaps in drawings.
In default shaded views from Pro/E drawings always export as bitmaps, that's why you cannot display them in regular vector based CAD such as ACAD or Draftsight using an older format.
I didn't test this, but I guess setting the config.pro option force_wireframe_in_drawings to yes might take care of your trouble with existing drawings containing shaded views. So your customer, supplier or whoever can see the views at lest in wireframe.
I guess if the view is specifically set to shaded then it will just show as shaded anyway, according to that config.pro option description, but it might be worth trying out.
Re: Screen freezes periodically on random drawing in session since server crash
The only server interaction I can think of directly is license validation. Where are your trail files written to; local?
Where did my downloaded file go?
After clicking on the download manager and downloading creo, I didn't get a file in the downloads folder on my computer. How do I fix the problem or find the file to complete my installation?