|
I am sorry I am not able to offer more help, this is an interesting issue and I would love to dive into it at this time, but I can’t, I will do my best to offer tips that will direct you. Once I get some open time I will look into it. I have noted it. Remember I do not work for ADSK, so my time is limited. ;-)
Now you have used:
udaMgr.setValue(admin.ProjectMgr.getCurrent().getPath(), ‘new_uda’, ‘new_value’) as a way to set the value to the defined UDA with the project path.
As noted in the document, the only exception is if the UDA that is being assigned is not actually in the project. Just a thought, incase it is not creating it? Also, you have put the captured path value and put it as the first Parameter, and as documented this ‘path’ is not the path that you have captured. This would be assigned to ‘value’ parameter. The ‘path’ parameter, well I am not sure what it is referring to, I have not looked into this. UDA’s are global, so why the specific path.. hmmm Had a little look at the XML tags for the UDA’s and nothing relating to path. I wish I could help on this, just not sure what that parameter is referring to.... Try it with the ‘path’ parameter and see what happens?
Author: Mark R.
|