60001457 Implement grips for the grouped objects

Article 60001457
Type Wish
Product Engine
Version 6025
Date Added 7/21/2011 12:00:00 AM
Fixed (6/19/2013 12:00:00 AM)
Submitted by Gizem Basturk

Summary

Implement grips for the grouped objects Controls the display and grips on groups, when group selection is on. 0 Displays grips on all objects in the selected group 1 Displays grips on all objects with different grip color that move all the objects. 2 Displays grips on all objects with different grip color that move all the objects with a bounding box of the group.

Solution

In version 6026 we added this feature in order to control grips when entities are selected belonging to vdGroups.
In vdDocument there is an application static setting as following:
public GroupGripsEnum GroupGrips
We also added a System.Drawing.Color property to the GlobalRenderProperties which is used for this feature.
public Color GroupGripColor
The Enumeration for the GroupGrip property can take the following 3 values

Enum GroupGripsEnum

  • AllEntities = 0, Grips are shown for all entities. The grips behave regularly for each figure.
  • AllEntitiesTransformby = 1, Grips are shown for all entities using the GroupGripColor color. All Entities behave the same and move all the group objects.
  • AllEntitiesTransformbyWithBoundingBox = 2, Grips are shown for all entities using the GroupGripColor color. All Entities behave the same and move all the group objects. Also the BoundingBox of the group is drawn using the same color.


  • The above properties can be used as following in c#
    //OK
    

    Send comments on this topic.