[Jo...] Posted November 6, 2024 Share Posted November 6, 2024 (edited) Hello I would like to learn how do i use the in built User-defined script function, when creating a list of elements in a dialog. I am using GOM 2019, and already read a few things on github about the steps to do it. however if I try to use the example scripts on there, I always get Errors. Don't know if it is version problems, because the github should be more recent. The picture below is to explain what i want to use And this is the code I'm working with: RESULT=gom.script.sys.execute_user_defined_dialog (content='<dialog>' \ ' <title>Window</title>' \ ' <style></style>' \ ' <control id="OkCancel"/>' \ ' <position>automatic</position>' \ ' <embedding>always_toplevel</embedding>' \ ' <sizemode>fixed</sizemode>' \ ' <size height="113" width="252"/>' \ ' <content columns="1" rows="1">' \ ' <widget type="input::point3d" rowspan="1" row="0" columnspan="1" column="0">' \ ' <name>point</name>' \ ' <tooltip></tooltip>' \ ' <supplier>custom</supplier>' \ ' </widget>' \ ' </content>' \ '</dialog>') Where and how can I insert my own funtions, so that the list has surfaces or elements diferent than lines, cylinders, circles, points or planes Thanks Edited November 6, 2024 Link to comment https://qualityforum.zeiss.com/topic/4418-selection-element-with-user-defined-script-function/ Share on other sites More sharing options...
[Ma...] Posted November 26, 2024 Share Posted November 26, 2024 Hello, I think you can find an example here: Using script dialogs — Add-On Documentation. The description is for GOM 2022, but I hope it is also applicable to GOM 2019. Best regards, Matthias Link to comment https://qualityforum.zeiss.com/topic/4418-selection-element-with-user-defined-script-function/#findComment-121770 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