Awesome "Python Scripts & Notes" Panel

Hello!

The attached Dockable Panel that will show you a list of all components that have Python and/or notes behaviors so you can open them right there (without the need of going to Modeling tab). It listens for components added, removed, behaviors added and removed. You can be sure it will list all scripts and notes.

Hope it helps boosting your productivity!

PD: I developed for 4.0.5 version

Ux.PythonScripts.dll_.zip (7.44 KB)

6 Likes

If you have suggestions or possible improvements do not doubt to tell me.

 

Find a new version in the attachment. You can now select and focus on the components in the list.

Ux.PythonScripts.dll_.zip (7.77 KB)

Thank you

hello ccamlio can you explain little bit how can i install your plugin. I downloaded files but couldnt import into vc

Hello! You just have to copy paste the .dll file into the installation folder. Like with any other .net plugin.

Let me know if you need more help.

Helllo ccamilo,

Well done!

How did you open the PythonEditor in C#?

Hello Towag,

To open a python script using the .NET api you can do this:

// use Edit static method from PythonEditorViewModel
PythonEditorViewModel.Edit(myBehaviour); //myBehaviour is IPythonSimInstance

 

Hope it helps!

This thing is great and improves productivity a lot thanks!

I am requesting this for 4.1.1!

Sounds awesome

It works in 4.1.1 as well

Hello ccamilo
This is really an awesome AddOn!
Makes your life so much easier when you work a lot with scripts.

It would be awesome if the components were sorted for example by name.
This makes it easier to search for your script once you got quite a big layout.

Thank you! And that is a nice suggestion, I will modify the addon to sort components by name. I will build it for 4.4.0 version.

2 Likes

Awesome! Thanks man :slight_smile:

This new version sorts components list based on Name. Same for scripts and notes for each component. Let me know if you have any issues with it.

Ux.PythonScripts.zip (8.0 KB)

1 Like

Wow didn’t expect it so fast.
Works like a charm, thanks!

Hey ccamilo,

do you plan to release a version of the add-on for Visual Components 4.5?

While using your add-on I noticed quite often, that I stumbled into an issue, that after adding (or removing) components, some where not listed in the panel, even though they contain vcPythonScript behaviours.
In which case does the list refresh the entries?
Maybe adding a manual refresh button would be a good addition?

Thank you in advance. I am really digging your add-on. :+1:

Greetings Felix

1 Like

Thanks for the great add-on. Been using for couple of weeks and this helps a lot!!

-BR
-Unnahi

1 Like

awsome this addon was a really good idea. it was so tedious to have to search for the right component with the script you need

1 Like

Hello Felix,
I will take a look and see what is going on in those cases. If I cannot find the problem I will add a refresh button. Nice you use the add-on.