Help! I'm starting to tear my hair out trying to figure out why this won't work. I've created an .xml file that I want to import from the Parameters dialogue box. I've double checked the format. If the parameter in my list doesn't already exist, the parameter is created just fine. If the parameter already exists in the part, however, I can get the file to create a Duplicate with the "_1" suffix. But when I uncheck the "Duplicate if cannot Replace" option so that it will only replace the values of existing parameters, nothing happens. It never changes the values of the parameters.
The example I have is a parameter that is simply called "N". Its value is an integer. The Designate box is unchecked. Access is Full. Source is User-Defined. The Restricted box is unchecked. There is no Unit Quantity or Unit.
When I import the .xml file and click the Details... button I get the following message:
The following conflicting parameters CANNOT be imported (possibly because they are used in Relations or violate Global Restrictions): N
This value is used in relations, but it is an input, and not locked. That's kind of the point of the parameter as it's used to generate the CAD geometry.
Here is my .xml file:
<?xml version="1.0" encoding="UTF-8"?>
What am I doing wrong?
Solved! Go to Solution.
Thanks for the information. That certainly explains what the issue is. Of course, it makes the importing parameters feature completely useless since you can't do anything with the parameters you import.