C# Класс RevitPythonShell.CommandLoaderBase

Наследование: IExternalCommand
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
_scriptSource string

Открытые методы

Метод Описание
CommandLoaderBase ( string scriptSource ) : System
Execute ( ExternalCommandData commandData, string &message, ElementSet elements ) : System.Result

Overload this method to implement and external command within Revit.

Описание методов

CommandLoaderBase() публичный Метод

public CommandLoaderBase ( string scriptSource ) : System
scriptSource string
Результат System

Execute() публичный Метод

Overload this method to implement and external command within Revit.
public Execute ( ExternalCommandData commandData, string &message, ElementSet elements ) : System.Result
commandData ExternalCommandData An ExternalCommandData object which contains reference to Application and View /// needed by external command.
message string Error message can be returned by external command. This will be displayed only if the command status /// was "Failed". There is a limit of 1023 characters for this message; strings longer than this will be truncated.
elements ElementSet Element set indicating problem elements to display in the failure dialog. This will be used /// only if the command status was "Failed".
Результат System.Result

Описание свойств

_scriptSource защищенное свойство

protected string _scriptSource
Результат string