How to add Entities under ERModel to current diagram

Can I ask one more thing, Antony?

I built a plug-in and inside of it, trying to create TableUIModels and Connectors.
What I want to do is create an ER Diagram and draw elements based on the command line without using the UI.
In case of the UI, elements are created and displayed successfully in the ER Diagram, but when it is attempted to be created with the command-line, it is frozen in the command like image below.

It seems that there is a change because capacity of the project file has changed, but when opening the project, the ER Diagram is not created…

Does VP supports creating ER Diagrams which contain tableUI and connection through command-line?