Comment

A Comment object is of type PsObject and represents a comment used in Vault Change Orders.

The $comment object is dynamically generated based on the properties which are fixed by the Vault client. Therefore all properties are directly available on this object.
The properties are named the same as in Vault, including whitespaces. If you want to access such a property you have to enclose it in single quotes.

Syntax

1$comment.Message

The following properties are always added :

Type

Name

Description

string[]

Attachments

Array of the files (the FullPath) attached to the comment.

Localization

$powerVaultComment is supporting this feature:

  • all active properties can be accessed via the displayName

  • all active properties can be accessed via _SystemName

except: the ones with guids (=user defined)

Examples

Comment-object on an english environment:

 1Created By              : Administrator
 2_CreateUserName         : Administrator
 3State                   : Create
 4_State                  : Create
 5Subject (CO)            : We require a fire heater
 6_ForumMessageSubject    : We require a fire heater
 7Message                 : The client requires a fire heater as well now!
 8_ForumMessageText       : The client requires a fire heater as well now!
 9Created                 : 5/30/2017 10:16:53 AM
10_ForumMessageCreateDate : 5/30/2017 10:16:53 AM
11Created (Date Only)     : 5/30/2017 12:00:00 AM
12Created (Time Only)     : 1/1/0001 10:16:00 AM
13Id                      : 15272
14MasterId                : 0
15PersistentId            : 
16PersistentMasterId      : 
17Attachments             : {$/Designs/autodesk_inventor_samples/Models/AEC Exchange/Water Heater/Water Heater.ipt, $/Designs/autodesk_inventor_samples/Models/AEC Exchange/Water Heater/Water Heater.idw}