Description | Example | Return Message | Group

SetAccessOption

Set access to use the whole object during computations.

Syntax

SetAccessOption <ObjectPath> {Whole | Any}

Related Commands

Description

If Whole is selected, then access to the object is constrained to when it is established to the entire object. When Any is selected, then access can be established to any part of the object.

The SetAccessOption command is valid for Area Targets and Line Targets only.

Example

To set LT1 to use the whole line target when establishing access:

SetAccessOption */LineTarget/LT1 Whole

To set access for the Penna Area Target to use any part of the object:

SetAccessOption */AreaTarget/Penna Any

ReturnMessage

If activated, Connect returns an acknowledgement message.

Group Membership

This command belongs to the following group(s):

Area Targets

Line Targets

Version

6.2

STK Programming Interface 11.0.1