Forum Discussion
sstrell
Super Contributor
20 days agoThe script from the GUI is assuming the packaged subsystem has already been created. Running it standalone, you can't set_package_property unless you've created a package first. I don't see offhand the Tcl command for doing this, but you can check the Platform Designer messages window when you open the dialog box to see the equivalent command to add to your script.
Your script also probably has to call an executable to load the Tcl package that contains set_package_property. I've never scripted this so I'm not sure what's needed, but hopefully this gives you enough to figure it out.