How do I create a component from an instance I have drawn?

I am trying to create an extension but cannot seem to find how to turn my draw method into a component.

Post a snippet from your code, otherwise we can only guess what might be wrong.

Please first read the wiki post on how to post code in the forum.
(Convert any TABs to 2 spaces for Ruby.)

As a general pattern, you add a group to the model entities, add your drawing elements to the group’s entities, and then make a component from the group.

1 Like

Did you find a solution to your problem?