HyperWorks Desktop

*Preferences() - Video Files

Indicates the settings of global preferences.

*Preferences() - Video Files

Indicates the settings of global preferences.

Previous topic Next topic No expanding text in this topic  

*Preferences() - Video Files

Indicates the settings of global preferences.

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

Syntax

*Preferences(0/1, 0/1, 0/1, color)

Arguments

Name

Description

 

0/1

Turns the timestep indicator off/on.

 

0/1

Turns the frame number indicator off/on.

 

0/1

Turns the filename indicator off/on.

 

color

Sets the background color (0-63).

Example

*BeginWindow(Video)

       *IsActive()

       *BeginVideo()

           *Preferences(0, 0, 0, 0)

           *OverlaySettings(1, 10, 0)

           *BeginNote(On, "Note 2")

               *Position(0.642254, 0.309429)

               *Text("Video File One")

               *Font("", 0, 0, 20)

               *Color(1)

               *BorderWidth(1)

               *NoteAlignment(Left)

           *EndNote()

           *LoadVideo("D:/AMF_AVI/filterrhomb1.amf")

           *LoadOverlay("D:/AMF_AVI/filterrhomb2.amf")

           *ZoomRect(0, 0, 450, 315)

           *Stretch(1)

           *MarkerCenter(-1, -1)

           *BeginHeader(On)

               *PrimaryFont("Arial", 0, 0, 14)

               *SecondaryFont("Arial", 0, 0, 10)

               *TertiaryFont("Arial", 0, 0, 10)

               *Color(1)

           *EndHeader()

       *EndVideo()

*EndWindow()

Application

MediaView.

Context

*BeginVideo()

*BeginWindow()

See also

 

List of Session Statements