LogicObject.GetPanelLoader(string)

Returns a
PanelLoader
C# object that corresponds to the
Dynamic panel
object indicated in the argument.
MANCIA: The API uses the alias that the Presentation Engine automatically generates at runtime for the panel. See Aliases.
PanelLoader GetPanelLoader(string
panelLoaderName
);

Arguments

panelLoaderName
(string)
The
BrowseName
of the
Dynamic panel
object.

Returns

PanelLoader
A C# object that corresponds to the
Dynamic panel
object.

Example

The following example shows an API that returns a C# object that corresponds to the
PanelLoader1
object, in which you want to create a
Motor
object.
var myPanel = LogicObject.GetPanelLoader("PanelLoader1"); var motor = InformationModel.MakeObject("Motor"); myPanel.ChangePanel("Panel1");
Fornire un feedback
Hai domande o feedback su questa documentazione? invia il tuo feedback qui.