CreateMarkup client API - SmartPlant Foundation - IM Update 46 - Help - Hexagon

SmartPlant Foundation Help

Language
English
Product
SmartPlant Foundation
Search by Category
Help
SmartPlant Foundation / SDx Version
10
SmartPlant Markup Plus Version
10.0 (2019)
Smart Review Version
2020 (15.0)

The CreateMarkup client API is used to control user access to the commands used to create markup layers.

Argument

Description

Parameter 1

Require owning group

Parameter 1 default

False

Parameter 1 description

If set to True, a SmartPlant Foundation owning group is required to be set for all new markup layers created with this command.

Parameter 1 type

Boolean

Parameter 2

Initial owning group

Parameter 2 default

None

Parameter 2 description

The name of the initial owning group associated with all new markup layers created with this command.

Parameter 2 type

String

The CreateMarkup method uses the CreateMarkup client API to enable users to create new markup layers in the View and Markup window.

SHARED Tip If a condition is written for the CreateMarkup method, it should be written so that it can be applied to the file and the document version. For example, to restrict markup creation to working documents, use the following condition: Obj->SPFFileComposition_12->SPFRevisionVersions_21.SPFRevState='WORKING' OR Obj->SPFRevisionVersions_21.SPFRevState='WORKING'.