Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 959 Bytes

File metadata and controls

33 lines (24 loc) · 959 Bytes

GetPluginInfo

Description

Returns the name and attached parameter record of the currently executing plug-in. Use with menu command or tool item plug-ins.

FUNCTION GetPluginInfo(
				VAR pluginName : STRING;
				VAR recordHand : HANDLE): BOOLEAN;
def vs.GetPluginInfo():
    return (BOOLEAN, pluginName, recordHand)

Parameters

Name Type Description
pluginName STRING Name of plug-in.
recordHand HANDLE Handle to parameter record of plug-in.

Remarks

Maybe a new function class of "Plug-ins" would be more appropriate than "Objects - Custom".

Please mind that this routine returns obj type 48 (record instance). In case of command plug-ins this might be kind of unexpected. Use getObject'commandName') instead to access the obj type 47 (record definition).

Version

Availability: from VectorWorks8.5

Category