[Contents] [Index] [Books]

CoCreate OneSpace Designer - Commands Reference Manual


MODIFY_RELATION terminate action

MODIFY_RELATION modifies an existing Relation definition.

Syntax


  ---->(MODIFY_RELATION)----+
                            |
    +-----------------------+
    |
    |  +-->|select Fixed Relation|--+
    +--+                            +--+
    |  +-->|select Rigid Relation|--+  |
    |                                  |
    |                 +----------------+
    |                 |
    |                 +---------------------<------------------------+
    |                 |                                              |
    |                 +-(:NAME)-----------|enter Relation name|------+
    |                 |                                              |
    |                 +-(:OBJECTS)--------|select objects|-----------+
    |                 |                                              |
    |                 +-(:PREVIEW)-----------------------------------+
    |                 |                                              |
    |                 +-(:AUTO_SOLVE)-----+-->(:YES)---+-------------+
    |                 |                   |            |
    +---<-(:NEXT)<----+                   +-->(:NO)----+
    |
    |
    |  +-->|select Distance Relation|-------+
    |  |                                    |
    |  +-->|select Angle Relation|----------+
    |  |                                    |
    |  +-->|select Parallel Relation|-------+
    +--+                                    +--+
    |  +-->|select Perpendicular Relation|--+  |
    |  |                                    |  |
    |  +-->|select Coincident Relation|-----+  |
    |  |                                    |  |
    |  +-->|select Tangent Relation|--------+  |
    |                                          |
    |                 +------------------------+
    |                 |
    |                 +---------------------<------------------------+
    |                 |                                              |
    |                 +-(:NAME)----------|enter Relation name|-------+
    |                 |                                              |
    |                 +-(:FIRST_REF)-----|select 1st Ref Elem|-------+
    |                 |                                              |
    |                 +-(:SECOND_REF)----|select 2nd Ref Elem|-------+
    |                 |                                              |
    |                 |                  +-->(:NO)-------------------+
    |                 +-(:PLANAR)--------+                           |
    |                 |                  +-->(:YES)---+              |
    |                 |                               |              |
    |                 |  +----------------------------+              |
    |                 |  |                                           |
    |                 |  +-(:PLANE_REF)--|select plane reference|----+
    |                 |                                              |
    |                 +-(:FOCUS1_BASIC)------------------------------+
    |                 |                                              |
    |                 +-(:FOCUS1_CENTER)-----------------------------+
    |                 |                                              |
    |                 +-(:FOCUS1_AXIS)-------------------------------+
    |                 |                                              |
    |                 +-(:FOCUS1_PLANE)------------------------------+
    |                 |                                              |
    |                 +-(:FOCUS1_DIRECTION)--------------------------+
    |                 |                                              |
    |                 +-(:FOCUS2_BASIC)------------------------------+
    |                 |                                              |
    |                 +-(:FOCUS2_CENTER)-----------------------------+
    |                 |                                              |
    |                 +-(:FOCUS2_AXIS)-------------------------------+
    |                 |                                              |
    |                 +-(:FOCUS2_PLANE)------------------------------+
    |                 |                                              |
    |                 +-(:FOCUS2_DIRECTION)--------------------------+
    |                 |                                              |
    |                 +  +->(:VALUE-TYPE)-+                          |
    |                 +  |                |                          |
    |                 +--+                +-(:VALUE)--|enter value|--+
    |                 +  |                                           |
    |                 +  +->(:EXPR-TYPE)--+                          |
    |                 +                   |                          |
    |                 +  +----------------+                          |
    |                 +  |                                           |
    |                 +  +-(:EXPR)-------|enter expression|----------+
    |                 +                                              |
    |                 |                                              |
    |                 +  +->(:DIRECTION_POSITIVE)-----------------+  |
    |                 |  |                                        |  |
    |                 +--+->(:DIRECTION_NEGATIVE)-----------------+--+
    |                 |  |                                        |  |
    |                 +  +->(:DIRECTION_OPEN)---------------------+  |
    |                 |                                              |
    |                 |                                              |
    |                 +  +->(:NORMALS_SAME)-----------------------+  |
    |                 |  |                                        |  |
    |                 +--+->(:NORMALS_OPPOSITE)-------------------+--+
    |                 |  |                                        |  |
    |                 +  +->(:NORMALS_OPEN)-----------------------+  |
    |                 |                                              |
    |                 +  +->(:SIDE_INFRONT)-----------------------+  |
    |                 |  |                                        |  |
    |                 +--+->(:SIDE_BEHIND)------------------------+--+
    |                 |  |                                        |  |
    |                 +  +->(:SIDE_OPEN)--------------------------+  |
    |                 |                                              |
    |                 +-(:PREVIEW)-----------------------------------+
    |                 |                                              |
    |                 +-(:AUTO_SOLVE)----+-->(:YES)---+--------------+
    |                 |                  |            |
    +---<-(:NEXT)<----+                  +-->(:NO)----+

Options

The following qualifiers apply to Fixed and Rigid Relations:

The following qualifiers apply to Value and Logical Relations:

When to use

Use this action to modify an existing Relation definition within the active Relation Set.

Example

The following parameter sequence modifies an existing Distance Relation, changing its name to "dis1a", changing the specified distance value to "50"cm and setting the normals of the Reference Elements in opposite directions. The solution will be previewed, but the Relation Set will not be solved.

MODIFY_RELATION [select Distance Relation] :NAME "dis1a" :VALUE_TYPE :VALUE "50" :NORMALS_OPPOSITE :PREVIEW :AUTO_SOLVE :NO COMPLETE

All input strings must be enclosed by double quotes (" ").

See also

CREATE_RELATION terminate action SOLVE_RELATION_SET terminate action SET_RELATIONS terminate action ANIMATE_RELATION terminate action SET_CURRENT_REL_SET terminate action ANCHOR_RELATION_LABEL terminate action
[Contents] [Index] [Books]