get_drawing_object_paramsT_get_drawing_object_paramsGetDrawingObjectParamsGetDrawingObjectParamsget_drawing_object_params (Operator)

Name

get_drawing_object_paramsT_get_drawing_object_paramsGetDrawingObjectParamsGetDrawingObjectParamsget_drawing_object_params — Get the parameters of a drawing object.

Signature

get_drawing_object_params( : : DrawID, GenParamName : GenParamValue)

Herror T_get_drawing_object_params(const Htuple DrawID, const Htuple GenParamName, Htuple* GenParamValue)

void GetDrawingObjectParams(const HTuple& DrawID, const HTuple& GenParamName, HTuple* GenParamValue)

HTuple HDrawingObject::GetDrawingObjectParams(const HTuple& GenParamName) const

HTuple HDrawingObject::GetDrawingObjectParams(const HString& GenParamName) const

HTuple HDrawingObject::GetDrawingObjectParams(const char* GenParamName) const

HTuple HDrawingObject::GetDrawingObjectParams(const wchar_t* GenParamName) const   (Windows only)

static void HOperatorSet.GetDrawingObjectParams(HTuple drawID, HTuple genParamName, out HTuple genParamValue)

HTuple HDrawingObject.GetDrawingObjectParams(HTuple genParamName)

HTuple HDrawingObject.GetDrawingObjectParams(string genParamName)

def get_drawing_object_params(draw_id: HHandle, gen_param_name: MaybeSequence[str]) -> Sequence[Union[float, int, str]]

def get_drawing_object_params_s(draw_id: HHandle, gen_param_name: MaybeSequence[str]) -> Union[float, int, str]

Description

get_drawing_object_paramsget_drawing_object_paramsGetDrawingObjectParamsGetDrawingObjectParamsGetDrawingObjectParamsget_drawing_object_params can be used to query the parameters that describe the drawing object DrawIDDrawIDDrawIDDrawIDdrawIDdraw_id. One may specify one or several parameters which will be retrieved in the output tuple GenParamValueGenParamValueGenParamValueGenParamValuegenParamValuegen_param_value, in the same order as specified in the input tuple GenParamNameGenParamNameGenParamNameGenParamNamegenParamNamegen_param_name.

In addition to the parameters described in set_drawing_object_paramsset_drawing_object_paramsSetDrawingObjectParamsSetDrawingObjectParamsSetDrawingObjectParamsset_drawing_object_params following parameters are possible for GenParamNameGenParamNameGenParamNameGenParamNamegenParamNamegen_param_name:

'type':

Returns the type of the drawing object. Possible return values are: 'circle'"circle""circle""circle""circle""circle", 'circle_sector'"circle_sector""circle_sector""circle_sector""circle_sector""circle_sector", 'ellipse'"ellipse""ellipse""ellipse""ellipse""ellipse", 'ellipse_sector'"ellipse_sector""ellipse_sector""ellipse_sector""ellipse_sector""ellipse_sector", 'rectangle1'"rectangle1""rectangle1""rectangle1""rectangle1""rectangle1", 'rectangle2'"rectangle2""rectangle2""rectangle2""rectangle2""rectangle2", 'line'"line""line""line""line""line", 'xld'"xld""xld""xld""xld""xld", 'text'"text""text""text""text""text"

Execution Information

Parameters

DrawIDDrawIDDrawIDDrawIDdrawIDdraw_id (input_control)  drawing_object HDrawingObject, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle of the drawing object.

GenParamNameGenParamNameGenParamNameGenParamNamegenParamNamegen_param_name (input_control)  attribute.name(-array) HTupleMaybeSequence[str]HTupleHtuple (string) (string) (HString) (char*)

Parameter names of the drawing object.

List of values: 'color'"color""color""color""color""color", 'column'"column""column""column""column""column", 'column1'"column1""column1""column1""column1""column1", 'column2'"column2""column2""column2""column2""column2", 'end_angle'"end_angle""end_angle""end_angle""end_angle""end_angle", 'font'"font""font""font""font""font", 'length1'"length1""length1""length1""length1""length1", 'length2'"length2""length2""length2""length2""length2", 'line_style'"line_style""line_style""line_style""line_style""line_style", 'line_width'"line_width""line_width""line_width""line_width""line_width", 'phi'"phi""phi""phi""phi""phi", 'radius'"radius""radius""radius""radius""radius", 'radius1'"radius1""radius1""radius1""radius1""radius1", 'radius2'"radius2""radius2""radius2""radius2""radius2", 'row'"row""row""row""row""row", 'row1'"row1""row1""row1""row1""row1", 'row2'"row2""row2""row2""row2""row2", 'start_angle'"start_angle""start_angle""start_angle""start_angle""start_angle", 'string'"string""string""string""string""string", 'type'"type""type""type""type""type"

GenParamValueGenParamValueGenParamValueGenParamValuegenParamValuegen_param_value (output_control)  attribute.name(-array) HTupleSequence[Union[float, int, str]]HTupleHtuple (real / integer / string) (double / int / long / string) (double / Hlong / HString) (double / Hlong / char*)

Parameter values.

Result

get_drawing_object_paramsget_drawing_object_paramsGetDrawingObjectParamsGetDrawingObjectParamsGetDrawingObjectParamsget_drawing_object_params returns TRUE, if the DrawIDDrawIDDrawIDDrawIDdrawIDdraw_id is valid. Otherwise an exception is raised.

Possible Predecessors

create_drawing_object_rectangle1create_drawing_object_rectangle1CreateDrawingObjectRectangle1CreateDrawingObjectRectangle1CreateDrawingObjectRectangle1create_drawing_object_rectangle1, create_drawing_object_rectangle2create_drawing_object_rectangle2CreateDrawingObjectRectangle2CreateDrawingObjectRectangle2CreateDrawingObjectRectangle2create_drawing_object_rectangle2, create_drawing_object_ellipsecreate_drawing_object_ellipseCreateDrawingObjectEllipseCreateDrawingObjectEllipseCreateDrawingObjectEllipsecreate_drawing_object_ellipse, create_drawing_object_circlecreate_drawing_object_circleCreateDrawingObjectCircleCreateDrawingObjectCircleCreateDrawingObjectCirclecreate_drawing_object_circle, create_drawing_object_linecreate_drawing_object_lineCreateDrawingObjectLineCreateDrawingObjectLineCreateDrawingObjectLinecreate_drawing_object_line, create_drawing_object_ellipse_sectorcreate_drawing_object_ellipse_sectorCreateDrawingObjectEllipseSectorCreateDrawingObjectEllipseSectorCreateDrawingObjectEllipseSectorcreate_drawing_object_ellipse_sector, create_drawing_object_circle_sectorcreate_drawing_object_circle_sectorCreateDrawingObjectCircleSectorCreateDrawingObjectCircleSectorCreateDrawingObjectCircleSectorcreate_drawing_object_circle_sector, create_drawing_object_xldcreate_drawing_object_xldCreateDrawingObjectXldCreateDrawingObjectXldCreateDrawingObjectXldcreate_drawing_object_xld, create_drawing_object_textcreate_drawing_object_textCreateDrawingObjectTextCreateDrawingObjectTextCreateDrawingObjectTextcreate_drawing_object_text, attach_drawing_object_to_windowattach_drawing_object_to_windowAttachDrawingObjectToWindowAttachDrawingObjectToWindowAttachDrawingObjectToWindowattach_drawing_object_to_window

Possible Successors

set_drawing_object_paramsset_drawing_object_paramsSetDrawingObjectParamsSetDrawingObjectParamsSetDrawingObjectParamsset_drawing_object_params, attach_drawing_object_to_windowattach_drawing_object_to_windowAttachDrawingObjectToWindowAttachDrawingObjectToWindowAttachDrawingObjectToWindowattach_drawing_object_to_window, get_drawing_object_iconicget_drawing_object_iconicGetDrawingObjectIconicGetDrawingObjectIconicGetDrawingObjectIconicget_drawing_object_iconic

Alternatives

get_drawing_object_iconicget_drawing_object_iconicGetDrawingObjectIconicGetDrawingObjectIconicGetDrawingObjectIconicget_drawing_object_iconic

See also

attach_drawing_object_to_windowattach_drawing_object_to_windowAttachDrawingObjectToWindowAttachDrawingObjectToWindowAttachDrawingObjectToWindowattach_drawing_object_to_window, get_drawing_object_iconicget_drawing_object_iconicGetDrawingObjectIconicGetDrawingObjectIconicGetDrawingObjectIconicget_drawing_object_iconic, set_drawing_object_paramsset_drawing_object_paramsSetDrawingObjectParamsSetDrawingObjectParamsSetDrawingObjectParamsset_drawing_object_params

Module

Foundation