Plugin to Create Objects on Fly - Forum

Forum Navigation
You need to log in to create posts and topics.

Plugin to Create Objects on Fly

A few weeks ago I found on an internet page that they had published an application in VisualNeo to create,

rename and move objects at runtime. Do you know how it can be done or what plugin it uses?

Uploaded files:
  • You need to login to have access to uploads.

@steve

You can prepare the right number of objects in advance (or even with stock) and then just activate them with the right properties.

Darbdenral, noyzen and rcohen have reacted to this post.
Darbdenralnoyzenrcohen

El crear objetos en tiempo de ejecución es un tema que hace tiempo se planteó en algún foro, la idea de @vadim es la que algunos sugirieron aunque no es la solución más elegante.

Por ejemplo en el programa que @steve acompaña se ve como se pueden crear distintas tipo de mesas en el plano, el crear un programa con 50 o 100 de cada una de ellas y mostrarlas a requerimiento es una solución aunque algo engorrosa y con un consumo de recursos mayor al esperado. Lo suyo sería un plugin que creara en tiempo de ejecución estos distintos objetos que además se pudieran arrastrar con el ratón sobre el plano y se le pudiera asignar un nombre e imagen para almacenar (su nombre, posición, tipo objeto, imagen asociada, ...) por ejemplo en una base de datos y poder recuperarla al abrir nuevamente la aplicación.

En el programa que @steve ha puesto creo ese es el fin aunque no se consiguió el poder mover libremente los objetos sobre el plano  pinchando sobre ellos y arrastrándolos.

Seguro que alguno de los desarrolladores como por ejemplo @rcohen o @asleycruz pueden ver el ejemplo, desarrollar un plugin o dar ideas de como hacerlo.

===============================================================================================

Creating objects at runtime is a topic that has been raised in some forum for a long time, the idea of ​​@vadim is the one that some suggested, although it is not the most elegant solution.

For example, in the program that @steve accompanies you can see how different types of tables can be created in the plan, creating a program with 50 or 100 of each of them and displaying them upon request is a solution, although somewhat cumbersome and with a consumption of resources greater than expected. His thing would be a plugin that would create these different objects at run time that could also be dragged with the mouse over the plane and assigned a name and image to store (its name, position, object type, associated image, .. .) for example in a database and be able to retrieve it when opening the application again.

In the program that @steve has put, I think that is the end, although it was not possible to freely move the objects on the plane by clicking on them and dragging them.

Surely some of the developers such as @rcohen or @asleycruz can see the example, develop a plugin or give ideas on how to do it.

Vadim and rcohen have reacted to this post.
Vadimrcohen

Hi @rafamacor,

This is a topic that has already come up with @zmworks7 and I during some of our R&D meetings and is being looked into.  It is an interest of ours also.

We have a small pile of things to get through first, including a good handful of useful commands being added to the browser plugin and a licensing system to finish up.  But at some point, perhaps third quarter of this year or so, we'll begin to take a closer look at runtime object creation....   if Asley or Alberto doesn't beat us to it ;-)

 

luishp and Vadim have reacted to this post.
luishpVadim
Has anyone developed a plugin to create and delete objects on fly?

Alguien ha desarrollado un plugin para crear y borrar objetos en modo de ejecución?

farhad2008 has reacted to this post.
farhad2008

Hi @rafamacor,

As you know, Zaeem has been seriously delayed as per his situation in Pakistan.   I have heard from him and he's trying to make it back into the coding ring, but it will take some time.   At this point, we are focusing on completing those plugins that were incomplete at the time he was cut off.  And I hear he has another surprise for us that he's also working on.

I hope you have a great holiday season, @rafamacor

 

Vadim has reacted to this post.
Vadim
Quote from Steve on May 7, 2022, 10:14 am

Do you know how it can be done or what plugin it uses?

This application uses plugins

tmFTP Plugin
tmCanvas Plugin
npHook

Darbdenral has reacted to this post.
Darbdenral

@steve You can try the hpwSimpleGraph plugin.

Hello,

You may have a look at hpwPdScript

https://www.hpwsoft.de/anmeldung/html1/neobook/neobook25.html

https://www.be-precision.com/products#helper

Regards,

Hans-Peter

 

Vadim and Darbdenral have reacted to this post.
VadimDarbdenral