Engineering Notes Methods

This page discusses:

CATInstruction.GetAffectedInstances()

This method retrieves the target instances of this Engineering Note.

Signature

CATInstruction.GetAffectedInstances() : List

ReturnType

List

It returns the list of target instances for this Engineering Note.

Example

let listOfAffectedInstances (List)
listOfAffectedInstances = CATInstruction->GetAffectedInstances()

CATInstruction.GetDownstreamUsage()

This method retrieves if this Engineering Note should be considered by downstream manufacturing applications.

Signature

CATInstruction.GetDownstreamUsage() : EngNotesDownstreamUsageTypeEnum

ReturnType

EngNotesDownstreamUsageTypeEnum

It returns a value from this enumere type indicating if this Engineering Note (CATInstruction) should be considered by downstream manufacturing applications.

For more information about this enumere type, see EngNotesDownstreamUsageTypeEnum.

Example

let usage (EngNotesDownstreamUsageTypeEnum)
usage = CATInstruction->GetDownstreamUsage()

CATInstruction.GetFatherContext()

This method retrieves the reference product to which the Engineering Note is applied (not the instances).

Signature

CATInstruction.GetFatherContext() : PLMCoreReference

ReturnType

PLMCoreReference

It returns the product to which this Engineering Note is applied.

Example

let myProduct(PLMCoreReference)
myProduct = CATInstruction->GetFatherContext()

CATInstruction.GetNoteText()

This method retrieves the text of this Engineering Note Template.

Signature

CATInstruction.GetNoteText() : String

ReturnType

String

It returns the text of this Engineering Note Template.

Example

let engNoteText (String)
engNoteText = CATInstruction->GetNoteText()

CATInstruction.GetSourceEngNoteTemplate()

This method retrieves the Engineering Note Template source of this Engineering Note.

Signature

CATInstruction.GetSourceEngNoteTemplate() : CATInstructionTemplate

ReturnType

CATInstructionTemplate

It returns the Engineering Note Template (CATInstructionTemplate) from which this Engineering Note derived.

Example

let engNoteTemplate(CATInstructionTemplate)
engNoteTemplate = CATInstruction->GetSourceEngNoteTemplate()

CATInstruction.GetSourceEngNoteTemplateTitle()

This method retrieves the source Engineering Note Template title of this Engineering Note.

Signature

CATInstruction.GetSourceEngNoteTemplateTitle() : String

ReturnType

String

It returns the Engineering Note Template title source.

Example

let engNoteTemplateTitle (String)
engNoteTemplateTitle = CATInstruction->GetSourceEngNoteTemplateTitle()

CATInstruction.GetTargetScopeMode()

This method retrieves the scope of this Engineering Note.

Signature

CATInstruction.GetTargetScopeMode() : EngNotesTargetScopeTypeEnum

ReturnType

EngNotesTargetScopeTypeEnum

It returns a value from this enumere type indicating the scope of this Engineering Note (CATInstruction).

For more information about the enumere type, see EngNotesTargetScopeTypeEnum.

Example

let scope (EngNotesTargetScopeTypeEnum)
scope = CATInstruction->GetTargetScopeMode()

CATInstruction.GetUUID()

This method retrieves the UUID this Engineering Note resource.

Signature

CATInstruction.GetUUID() : String

ReturnType

String

The string represents a 26-characters UUID.

Example

let id (String)
id = CATInstruction->GetUUID()

CATInstruction.LoadSourceEngNoteTemplate()

This method returns if the source Engineering Note Template of this Engineering Note has successfully loaded or not.

Signature

CATInstruction.LoadSourceEngNoteTemplate() : Boolean

ReturnType

Boolean

It returns true if the Engineering Note Template (CATInstructionTemplate), from which this Engineering Note derived, has been loaded.

Example

let isSuccess (Boolean)
isSuccess = CATInstruction->LoadSourceEngNoteTemplate()

CATInstructionTemplate.GetForceUppercase()

This method retrieves if this Engineering Notes Template forces Notes text uppercase in derived Engineering Notes.

Signature

CATInstructionTemplate.GetForceUppercase() : Boolean

ReturnType

Boolean

It returns if this Engineering Note Template has forced NoteText content to be uppercased or not.

Example

let isForcedUppercase (Boolean)
isForcedUppercase = CATInstructionTemplate->GetForceUppercase()

CATInstructionTemplate.GetNoteText()

This methods retrieves the text of this Engineering Note.

Signature

CATInstructionTemplate.GetNoteText() : String

ReturnType

String

It returns the text of this Engineering Note.

Example

let engNoteTemplateText (String)
engNoteTemplateText = CATInstructionTemplate->GetNoteText()

CATInstructionTemplate.GetStandardResources()

This method retrieves the standard resources pointed by this Engineering Note Template.

Signature

CATInstructionTemplate.GetStandardResources() : List

ReturnType

List

It returns a list of the standard resources (PLMCoreReference) pointed by this Engineering Note Template.

Example

let listOfStdResources (List)
listOfStdResources = CATInstructionTemplate->GetStandardResources()

PLMCoreReference.GetEngineeringNotesFromContext()

This method retrieves the list of Engineering Notes attached to this PLMCoreReference.

Signature

PLMCoreReference.GetEngineeringNotesFromContext() : List

ReturnType

List

It returns the list of engineering notes (CATInstructions) attached to this PLMCoreReference.

Example

let listOfNotes (List)
listOfNotes = PLMCoreReference->GetEngineeringNotesFromContext()

CATInstruction.DownstreamUsage()

This method is deprecated. See CATInstruction.GetDownstreamUsage().

Signature

CATInstruction.DownstreamUsage() : EngNotesDownstreamUsageTypeEnum

ReturnType

EngNotesDownstreamUsageTypeEnum

CATInstruction.TargetScopeMode()

This method is deprecated. See CATInstruction.GetTargetScopeMode().

Signature

CATInstruction.TargetScopeMode() : EngNotesTargetScopeTypeEnum

ReturnType

EngNotesTargetScopeTypeEnum