[Ch...] Posted Sunday at 07:40 PM Share Posted Sunday at 07:40 PM Hi there, I am creating a custom workspace and am finding that scripts I have written that create actual elements are not showing on the toolbar. They will show if i change their settings to "no element creation". Is there some stricter criteria for displaying scripts that create elements / perform checks in the workflow toolbar, or is this a designed limitation? If the criteria for displaying these scripts are more stringent, then where would i be able to find thorough documentation about this, as the zeiss python API docs don't talk about it. Link to comment Share on other sites More sharing options...
[Ma...] Posted yesterday at 09:02 AM Share Posted yesterday at 09:02 AM (edited) Hi, This is is a known limitation. As a workaround, you can create a wrapper script which calls the interactive scripted element creation. E.g.: gom.interactive.sys.create_element_by_script( check_type='none', name="", element_type='curve', parameters={...}, # optional script_uuid='3dd6f706-d9ed-4c23-aa88-70d48a7eaf26' # Replace by your scripted element's UUID ) Best regards, Matthias Edited yesterday at 09:16 AM Link to comment Share on other sites More sharing options...
[Ch...] Posted 22 hours ago Author Share Posted 22 hours ago Please sign in to view this quote. Hi Matthias, thanks for the reply! I did settle on this method, but I was worried that it might not work in future versions of the software, so it's relieving to know its the recommended work around for this. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in