News: Contact us to upgrade your software!

Author Topic: How to create new component via VBA? No ComponentCol.Create method exists.  (Read 742 times)

Usr182x

  • Client
  • **
  • Posts: 1
    •  
Is there method of creating a new component similar to how a new assembly can be created with AssemblyCol.Create()?  Neither classes (Component or ComponentCol) have a "New()" or ".Create" method.  Is there a trick to it or is it impossible to do via scripting?

I'm wanting to create components similar to the way you can use the FEM Viewer GUI by selecting menu items Component -> Create Using FEM Viewer (by element).  I would like to use Excel to create components by using [Component Name, Component ID, Element ID List].  The FEM Viewer allows a user to define a component with nothing but these three variables.

Thank you.