LogicObject.GetPanelLoader(string)
Returns a
PanelLoader
C# object that corresponds to the Dynamic panel
object indicated in the argument.
TIP:
The API uses the alias that the Presentation Engine automatically generates at runtime for the panel. See Aliases.
PanelLoader GetPanelLoader(stringpanelLoaderName);
Arguments
- panelLoaderName(string)
- TheBrowseNameof theDynamic panelobject.
Returns
- PanelLoader
- A C# object that corresponds to theDynamic panelobject.
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");
Provide Feedback