70002768 I wish to be able to control the extra grips of some entities

Article 70002768
Type Wish
Product Engine
Date Added 9/29/2025 12:00:00 AM
Fixed 11.5.1 (10/2/2025 12:00:00 AM)
Submitted by Sami Tainio

Summary

I wish to be able to control the extra grips of some entities

Solution

In Version 11.5.1 we added the following property to the Document object like below

public ExtraGripsEnum ExtraGrips

Where the Enum value has the following options that can be combined as flags

public enum ExtraGripsEnum
{
None = 0,
ExtraTextGrips = 1,
ExtraRectGrips = 2,
ExtraImageGrips = 4,
ExtraEllipseGrips = 8,
ExtraInsertGrips = 16,
All = ExtraTextGrips+ ExtraRectGrips + ExtraImageGrips + ExtraEllipseGrips + ExtraInsertGrips
}

The default value is "All" which means that all extra grips are available.

This is an application setting and is connected with a static private property.

Note that if you change this value by code an update to the Document is required (or RegenAll command).

If for example the user wants only to have the extra grips for Texts and Inserts the following code should be applied

doc.ExtraGrips = vdDocument.ExtraGripsEnum.ExtraTextGrips | vdDocument.ExtraGripsEnum.ExtraInsertGrips;

Send comments on this topic.