CLI 参考 > 工作流和文档命令 > im baseline
  
im baseline
create or move an existing baseline
Synopsis
im baseline[--[no]move] [--asOf=[<date>|label:<label>] [--[no]subSegment] [(L=label|--label=label)] [--hostname=server] [--port=number] [--password=password] [--user=name] [(-?|--usage)] [(-F file|--selectionFile=file)] [(-N|--no)] [(-Y|--yes)] [--[no]batch] [--cwd=directory] [--forceConfirm=[yes|no]] [(-g|--gui)] [--quiet] [--settingsUI=[gui|default]] [--status=[none|gui|default]] segment id...
Description
im baseline creates a baseline or moves an existing baseline. A baseline is a meaningful date and time for a document, marked with a label. For example:
im baseline -L "Release ABC" --asOf="January 8, 2007 10:00:00 AM EST" 123
adds the baseline label "Release ABC" to document ID 123 as of January 8, 2007 10:00:00 AM EST.
Options
This command takes the universal options available to all im commands, as well as some general options. See the options reference page for descriptions.
--[no]move
if the baseline exists, determines whether it will be moved to the new baseline specified using --asOf.
--[no]subSegment
specifies to baseline the referenced subsegment instead of the owning segment. To learn about referenced and included subsegments, see your Windchill RV&S 帮助中心.
--asOf=<date>|label:<label>
allows you to create a baseline or move a baseline as of a specific date or label. This field is optional. If a value is not provided the label is added as of the current time.
-L label
--label=label
specifies a label for the baseline. Labels cannot contain colons(:), square brackets ([ ]), or leading spaces.
* 
Labels that include spaces must be enclosed by quotes.
segment id...
the ID of the segment and/or node you want to baseline. To baseline a subsegment you must specify --subsegment.
See Also
Commands: im removebaseline
Miscellaneous: diagnostics, options, preferences