2.14.2.7 group_server

Menu Information

Preferences : Set Group Folder Location

Brief Information

Set up a group folder for file sharing

Additional Information

Minimum Origin Version Required: 8.0 SR5

Command Line Usage

1. group_server path:="\\emily\New Folder" server:=1; // set Group Folder as a Group Leader for Group1

2. group_server path:="\\emily\New Folder" server:=0; // set Group Folder as a client machine for Group1

X-Function Execution Options

Please refer to the page for additional option switches when accessing the x-function from script

Variables

Display
Name
Variable
Name
I/O
and
Type
Default
Value
Description
Group Folder Path path

Input

string

<unassigned>
Specify a UNC path for sharing files between computers as Group1. You can use a non-UNC path if using file synchronization service to share the files with another computer.
Group Leader Machine server

Input

int

0
Specify whether the current machine is a Group Leader Machine for Group1.
Other groups mgroups

Input

TreeNode

<unassigned>
Specify more groups with subnode Group2 to Group10, set path and server in each group.

Description

Origin 8.0SR5 to 8.1SR3 users managed by a concurrent FLEXlm license can use the Group Folder feature, where a group leader or server machine, can share various Origin file types with multiple group members or client machines. This function can set up at most 10 Group Folder locations for both the group leader and the members.

Note: The group folder should be a web-shared or local-shared folder accessible to the group leader machine and all the client machines.

Starting with 8.5, this feature is available for all Origin licenses.

Examples

This example set 3 Group Folders.

Tree otherGroups;
otherGroups.GROUP2.path$="\\emily\New Folder2"; // set Group Folder for Group2
otherGroups.GROUP2.server=1; // as a Group Leader
otherGroups.GROUP3.path$="\\emily\New Folder3"; // set Group Folder for Group3
otherGroups.GROUP3.server=0; // as a client machine
// set Group Folder as a Group Leader for Group1, set other groups with mgroups
group_server path:="\\emily\New Folder" server:=1 mgroups:=otherGroups;

Algorithm

References

Related X-Functions

groupmgr, updateUFF