Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X
Hi 、All
thank you for your hard work.
I want to know how to implement the next.
● Widgets that you want to realize
Press the button to create an expanded widget that moves the model with the set axis and the amount of movement.
When the expansion widget is drag and dropped by dragging and dropping
When you press the button, the binding model moves.
● Points that have not been realized
1:Placing the button to create a widget and set up an event to be pressed.
The button is not displayed at the time of the preview
2: I can't bind an extended widget to the model widget I want to move
3: Event processing (set axis, moving amount) when the placed button is pressed.
I want to process the event without writing a function in the home.js, but it is not done
● Request
1: How to display an expansion widget at the time of preview
2: How to bind to model widgets by dragging & drop
3: How to embed a function in a widget instead of describing the function in the home.js
(How to call a function described in JavaScript for expanded widgets)
Hello ytsubone,
I believe that create an extension might be a solution to embedded code outside a Project and to have reusable components.
I don't have many knowledge about it but we can find some examples here :
https://github.com/steveghee/OCTO_Studio_extensions
Best regards,
Samuel