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
i have created a part without using the correct start part. is there a way to add the correct start part to the existing part?
simple answer: No
Options
1) add the relations and parameters from a start part to your existing part.
2) import the model into a new part created from the proper start part.
Remove the bad start part from the default directory so it doesn't get used again. Put it in a sub-folder so you have to do some work to use it. Be sure your config.pro points to the proper default starts part.
ok, the start part only fills the parameters in. is there a way to import the correct parameters?
Not really and for 1 part it is faster to just do it manually.
If you had a whole bunch of files, then ModelCheck can add parameters, but it takes a bit to set up ModelCheck for that.
SOMETIMES model check can do it. I've been having issues with that here. Most times, I have to create the parameters manually. TOTAL PITA when our start parts have 21 printed pages of parameters!!!
For layers, there is a neat trick I learned here where you delete all the layers in the bad part, open the start part, select the layers there, click in the open layer area of the bad part, and just paste them in. It works with a caveat: SOMETIMES the rules don't work and you have to redo them manually. It's a little quirky (as I mentioned in another couple threads). It seems the more robust way to do it IF you have rules-based layers, is create a temp assembly, insert the bad part with no layers, pick the layers in the assy, then "Extend Rules".
You can use the basic copy-paste function to copy parameters from one model to another.
How to copy/export parameters from one model and import to another model in Creo Parametric
https://www.ptc.com/en/support/article?n=CS54195
Regards,
Dan N.
I tried doing a simple cut&paste with parameters, and it didn't work for me. I was only able to get the layers to work like that, with that caveat.
I'll have to try the method listed above, thanks. Kind of a moot point now, as most of what I need to fix has been fixed, but, some haven't, so I'll try it, thanks!
Of note, I tried it, and the "extend rules" method works better and more robust for copying layers than the cut&paste method for that tricky 03_CURVES layer I was having issues with.
The easiest way to bring in the parameters is to use a neutral file.
Open your start part and pick File > Save As > Save A Copy. In the dialog, pick a location and select Neutral(*.neu) from the Type drop down and then OK.
In the part that needs the parameters, from the Model tab select Get Data > Import. Browse to your neutral file and import it. It will bring in the parameters from the start part with the neutral import. Once imported, you can delete the neutral import feature and the parameters will stay behind.
I will have to try that, thanks!
It doesn't work with sheet metal parts or assys, but it works great with standard parts. When I had a lot of parts to change, I created the *.neu in a known location and made a mapkey that does the import and delete automatically.
It does bring in layers too, but it only seems to bring in the layers that have items on them. Layer rules are lost, however, so it's probably not the best way to bring layers in.
Oddly, neither yours nor the other method works. With your method, the import fails and it the import does not get created at all, thus no layers are created. Bummer, as I was really hoping this would be the fix.
This issue has become a total PITA for me since we have an absolutely absurd number of parameters (and an equally absurd number of relations) to go with them. It's a nightmare, but since nothing I've tried works, I'm resigned to wasting huge amounts of time entering them in by hand.....
I think the Parameters dialog box now has a way to export and import parameters via XML. I think I tried it once but didn't get it to work. Still, worth exploring.
@ Dave: I tried it, and the XML file doesn't do anything. It WOULD be nice to have it work as an easily exported then imported file (like a config.pro or a .ui file), but sadly, no.
You CAN do a Cut&Paste of parameters from a new LANL Start Part to an older part with no parameters, but there are a couple major caveats and some difficult tricks to get it to actually work. It is NOT a simple Cut&Paste. The steps are as follows:
2. Pick (left-click) a parameter, then right-click to get the pop-up, and select "Select Parameter”.
“PTC_MATERIAL_NAME”, because even though it shows as a “User Defined” parameter, it is not, it is actually a system parameter CHANGED by the user.
4. Select “Copy” from the popup.
7. In the empty space, put your cursor, and right-click to get the pop-up menu, then pick “Paste.
8. You will now have your pasted parameter.
Sorry about the formatting issues here, the site obviously does not like things pasted from Word.
It's kind of a PITA, but FAR less than manually creating them like I'd been doing for out zillion-6 parameters!