Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
I have a mapkey which prompts the user for a name and selecte adrawing template. Everything works pretty good except the wait time to retrieve the drawing template (and format) from Windchill. Our dataserver is local so this is just the normal process time I guess to "add these objects to your WORKSPACE". It can take up to a minute, may not seen like a lot of time, but I know the users will start trying to kill the process thinking the mapkey is frozen.
Just curious to see if how others are managing the "start drawing" procedure. I can have the drawing templates locally in the hard-drive but then thenformats are created in your WORKSPACE as *NEW OBJECT.
Here are the steps I am using:
* FILE -> NEW
* Select DRAWING -> UNCHECK Use default template
* Select USE TEMPLATE -> BROWSE
* Select WINDCHILL CABINET -> Enter the template name (we have ~20 diff templates)
* Select OK
It may be just a training issue and let the users know that this will take a while, at least for the first time. Once the format is added to the local workspace, the speed is almost instant.
Calvin Ying
I believe there is a config.pro setting that is supposed to point to the folder in WC, but we never got it to work. There was a huge delay time. We are on 10.0. We store them on a local drive and use the config.pro setting to point to it.
Hi BenLoosli,
I need a guidance how can we add Cn details parameters in drawing template so that end user will get those params on WC UI .
we don't want to update design dynamically we just want those attribute for user UI.
Not sure I can help as we do not use Change objects, so no CN information.
If you can grab the CN information in a parameter, then you can map that to a Windchill attribute and display it in the UI.
This is what we do:
config.pro option PRO_FORMAT_DIR wtpub://Windchill/Libraries/<library name=">/<folder name=">
If you create these by going into the config editor and picking browse it will give you the correct path. That location holds both the start part files (asm and prt) and the drawing templates.
Our formats are stored in a different folder within the same library.
With that config set you don't have to browse to the windchill cabinet. The templates show up as a list when you pick USE TEMPLATE.
There is no delay at all when users create drawings. It defaults to EMPTY instead of USE TEMPLATE, but once they change that radio button the templates are all listed and they can pick one before continuing with their drawing creation. Once they choose the template they want to use and pick the OK button, there is no delay.
I'd check on both those config options first to make sure they're set correctly. If it's normal speed only after the format is added to the workspace it may be something to do with that config option.
In Reply to Ben Loosli:
I have a mapkey which prompts the user for a name and selecte a drawing template. Everything works pretty good except the wait time to retrieve the drawing template (and format) from Windchill. Our dataserver is local so this is just the normal process time I guess to "add these objects to your WORKSPACE". It can take up to a minute, may not seen like a lot of time, but I know the users will start trying to kill the process thinking the mapkey is frozen.
Just curious to see if how others are managing the "start drawing" procedure. I can have the drawing templates locally in the hard-drive but then then formats are created in your WORKSPACE as *NEW OBJECT.
Here are the steps I am using:
* FILE -> NEW
* Select DRAWING -> UNCHECK Use default template
* Select USE TEMPLATE -> BROWSE
* Select WINDCHILL CABINET -> Enter the template name (we have ~20 diff templates)
* Select OK
It may be just a training issue and let the users know that this will take a while, at least for the first time. Once the format is added to the local workspace, the speed is almost instant.
Calvin Ying
Should have said "...that first config location holds both the start part files ... and the drawing templates".
The second one, obviously, holds just the formats.
In Reply to Don Senchuk:
This is what we do:
config.pro option PRO_FORMAT_DIR wtpub://Windchill/Libraries//
If you create these by going into the config editor and picking browse it will give you the correct path. That location holds both the start part files (asm and prt) and the drawing templates.
Our formats are stored in a different folder within the same library.
With that config set you don't have to browse to the windchill cabinet. The templates show up as a list when you pick USE TEMPLATE.
There is no delay at all when users create drawings. It defaults to EMPTY instead of USE TEMPLATE, but once they change that radio button the templates are all listed and they can pick one before continuing with their drawing creation. Once they choose the template they want to use and pick the OK button, there is no delay.
I'd check on both those config options first to make sure they're set correctly. If it's normal speed only after the format is added to the workspace it may be something to do with that config option.
We have ours set up in the same wya and works a treat with 1 pre-requisite, all users MUST register the server using the same alias as they share a common config.pro.
Simon Lucas