Animation Options¶
Animation commands are used to create and control object-based and image-based animations in the viewport.
Other Classes¶
- class AVIOptions[源代码]¶
基类:
_OptionsBase
The AVIOptions object is used to store values and attributes to be used in generating AVI animation. The AVIOptions object has no constructor. Abaqus creates the aviOptions member when the animation module is imported.
备注
This object can be accessed by:
import animation session.aviOptions
备注
Member Details:
-
codecOptions : --is-rst--:py:class:`str` =
''
[源代码]¶ A String specifying the system specific options defining the CODEC when the compressionMethod is set to CODEC.
-
compressionMethod : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant` =
'RLE8'
[源代码]¶ A SymbolicConstant specifying the compression method for the AVI format. Possible values are:
RAW8, specifying an uncompressed format of 8 bits per pixel.
RAW32, specifying an uncompressed format of 32 bits per pixel.
RLE8, specifying a run length encoded format of 8 bits per pixel.
CODEC, specifying a format defined by CODEC (encoder/decoder). The availability of theCODEC is system dependent
The default value is RLE8.
-
compressionQuality : --is-rst--:py:class:`int` | :py:obj:`None` =
None
[源代码]¶ An Int specifying the quality of the compression as a percentage when the compressionMethod is set to CODEC.
-
imageSize : --is-rst--:py:class:`int` | :py:obj:`None` =
None
[源代码]¶ A pair of Ints specifying the width and height of the image in pixels when sizeDefinition = USER_DEFINED. Possible values are Ints in the range (minWidth, minHeight) ≤ (width, height) ≤ (maxWidth, maxHeight). The default value is the screen size.
- setValues(
- compressionMethod=
RLE8
, - compressionQuality=
None
, - codecOptions=
''
, - sizeDefinition=
SIZE_ON_SCREEN
, - imageSize=
None
, This method modifies the AVIOptions object.
- 参数:¶
- compressionMethod=
RLE8
¶ A SymbolicConstant specifying the compression method for the AVI format. Possible values are:
RAW8, specifying an uncompressed format of 8 bits per pixel.
RAW32, specifying an uncompressed format of 32 bits per pixel.
RLE8, specifying a run length encoded format of 8 bits per pixel.
CODEC, specifying a format defined by CODEC (encoder/decoder). The availability of theCODEC is system dependent
The default value is RLE8.
- compressionQuality=
None
¶ An Int specifying the quality of the compression as a percentage when the compressionMethod is set to CODEC.
- codecOptions=
''
¶ A String specifying the system specific options defining the CODEC when the compressionMethod is set to CODEC.
- sizeDefinition=
SIZE_ON_SCREEN
¶ A SymbolicConstant specifying how the width and height of the image are specified. Possible values are SIZE_ON_SCREEN and USER_DEFINED. The default value is SIZE_ON_SCREEN.
- imageSize=
None
¶ A pair of Ints specifying the width and height of the image in pixels when sizeDefinition = USER_DEFINED. Possible values are Ints in the range (minWidth, minHeight) ≤ (width, height) ≤ (maxWidth, maxHeight). The default value is the screen size. Note:The values of the minimum width (minWidth) and height (minHeight) depend on the following:viewport font size,whether decorations are printed,decoration size, andscreen resolution.The minimum width and height are normally < 50 pixels. The values of the maximum width (maxWidth) and height (maxHeight) depend on the graphics capabilities of the system. The maximum width and height will be at least as large as the screen dimensions.
- compressionMethod=
-
codecOptions : --is-rst--:py:class:`str` =
- class AnimationController[源代码]¶
基类:
_OptionsBase
The AnimationController object controls all object-based animation to be displayed in the viewports. The AnimationController object has no constructor. Abaqus creates the animationController member when it creates the Session object.
备注
This object can be accessed by:
import animation session.viewports[name].animationController
备注
Member Details:
-
animationType : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant` =
'NONE'
[源代码]¶ A SymbolicConstant specifying the type of movie to play. Possible values are SCALE_FACTOR, HARMONIC, TIME_HISTORY, and NONE. The default value is NONE.
-
setValues(animationType=
NONE
)[源代码]¶ This method modifies the AnimationController object.
-
showFrame(frame=
None
, value=None
)[源代码]¶ This method renders the specified frame of the animation.
- 参数:¶
- frame=
None
¶ An Int specifying the frame number.
- value=
None
¶ A Float specifying the frame: for animationType = TIME_HISTORY the frame with the time nearest to this value, for animationType = HARMONIC the frame with the angle nearest to this value, for animationType = SCALE_FACTOR the frame with the scale value nearest to this value.
- frame=
-
animationType : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant` =
- class AnimationOptions[源代码]¶
基类:
_OptionsBase
The AnimationOptions object is used to store values and attributes associated with an AnimationController object. The AnimationOptions object has no constructor command. Abaqus creates the animationOptions member when it creates the AnimationController object.
备注
This object can be accessed by:
import animation session.animationOptions
备注
Member Details:
-
frameCounter : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
1
[源代码]¶ A Boolean specifying whether to show the frame counter. The default value is ON.
-
frameRate : --is-rst--:py:class:`int` =
50
[源代码]¶ An Int specifying the animation rate in frames/second. Possible values are 1 ≤ frameRate ≤ 100. The default value is 50.
-
maxTime : --is-rst--:py:class:`float` | :py:obj:`None` =
None
[源代码]¶ A Float specifying the maximum time for time based time history animation when maxTimeAutoCompute = False.
-
maxTimeAutoCompute : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
1
[源代码]¶ A Boolean specifying whether the animation maximum time value should be computed from the active frames when timeHistoryMode is set to TIME_BASED. The default value is ON.
-
maxTimeAutoValue : --is-rst--:py:class:`float` | :py:obj:`None` =
None
[源代码]¶ A Float specifying the maximum time when timeHistoryMode is set to TIME_BASED and the maxTimeAutoCompute value is True. This value is computed as the maximum time of all active frames displayed in viewports where the animation is active.
-
minTime : --is-rst--:py:class:`float` | :py:obj:`None` =
None
[源代码]¶ A Float specifying the minimum time for time based time history animation when minTimeAutoCompute = False.
-
minTimeAutoCompute : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
1
[源代码]¶ A Boolean specifying whether the animation minimum time value should be computed from the active frames when timeHistoryMode is set to TIME_BASED. The default value is ON.
-
minTimeAutoValue : --is-rst--:py:class:`float` | :py:obj:`None` =
None
[源代码]¶ A Float specifying the minimum time when timeHistoryMode is set to TIME_BASED and the minTimeAutoCompute value is True. This value is computed as the minimum time of all active frames displayed in viewports where the animation is active.
-
mode : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant` =
'LOOP'
[源代码]¶ A SymbolicConstant specifying the animation mode. Possible values are PLAY_ONCE, LOOP, LOOP_BACKWARD, and SWING. The default value is LOOP.
-
numScaleFactorFrames : --is-rst--:py:class:`int` =
7
[源代码]¶ An Int specifying the number of frames to be used when the AnimationController object’s animationType = SCALE_FACTOR or HARMONIC. The default value is 7.
-
relativeScaling : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant` =
'HALF_CYCLE'
[源代码]¶ A SymbolicConstant specifying the relative scaling when the AnimationController object’s animationType = SCALE_FACTOR or HARMONIC. Possible values are FULL_CYCLE and HALF_CYCLE. The default value is HALF_CYCLE.
- setValues(
- mode=
LOOP
, - frameRate=
50
, - frameCounter=
1
, - relativeScaling=
HALF_CYCLE
, - numScaleFactorFrames=
7
, - timeHistoryMode=
FRAME_BASED
, - maxTime=
None
, - maxTimeAutoCompute=
1
, - minTime=
None
, - minTimeAutoCompute=
1
, - timeIncrement=
None
, - xyUseHighlightMethod=
1
, - xyShowLine=
1
, - xyLineStyle=
SOLID
, - xyLineThickness=
MEDIUM
, - xyLineColor=
''
, - xyShowSymbol=
1
, - xySymbolMarker=
DEFAULT
, - xySymbolSize=
MEDIUM
, - xySymbolColor=
''
, This method modifies the AnimationOptions object.
- 参数:¶
- mode=
LOOP
¶ A SymbolicConstant specifying the animation mode. Possible values are PLAY_ONCE, LOOP, LOOP_BACKWARD, and SWING. The default value is LOOP.
- frameRate=
50
¶ An Int specifying the animation rate in frames/second. Possible values are 1 ≤ frameRate ≤ 100. The default value is 50.
- frameCounter=
1
¶ A Boolean specifying whether to show the frame counter. The default value is ON.
- relativeScaling=
HALF_CYCLE
¶ A SymbolicConstant specifying the relative scaling when the AnimationController object’s animationType = SCALE_FACTOR or HARMONIC. Possible values are FULL_CYCLE and HALF_CYCLE. The default value is HALF_CYCLE.
- numScaleFactorFrames=
7
¶ An Int specifying the number of frames to be used when the AnimationController object’s animationType = SCALE_FACTOR or HARMONIC. The default value is 7.
- timeHistoryMode=
FRAME_BASED
¶ A SymbolicConstant specifying whether the time history animation is time based or frame based. Possible values are FRAME_BASED and TIME_BASED. The default value is FRAME_BASED.
- maxTime=
None
¶ A Float specifying the maximum time for time based time history animation when maxTimeAutoCompute = False.
- maxTimeAutoCompute=
1
¶ A Boolean specifying whether the animation maximum time value should be computed from the active frames when timeHistoryMode is set to TIME_BASED. The default value is ON.
- minTime=
None
¶ A Float specifying the minimum time for time based time history animation when minTimeAutoCompute = False.
- minTimeAutoCompute=
1
¶ A Boolean specifying whether the animation minimum time value should be computed from the active frames when timeHistoryMode is set to TIME_BASED. The default value is ON.
- timeIncrement=
None
¶ A Float specifying the time increment for frame selection when timeHistoryMode is set to TIME_BASED.
- xyUseHighlightMethod=
1
¶ A Boolean specifying whether to use the highlight method to draw the time tracker line and symbols. The default value is ON.
- xyShowLine=
1
¶ A Boolean specifying whether to show the time tracker line. The default value is ON.
- xyLineStyle=
SOLID
¶ A SymbolicConstant specifying the X - Y time tracker line style. Possible values are SOLID, DASHED, DOTTED, and DOT_DASH. The default value is SOLID.
- xyLineThickness=
MEDIUM
¶ A SymbolicConstant specifying the X - Y time tracker line thickness. Possible values are VERY_THIN, THIN, MEDIUM, and THICK. The default value is MEDIUM.
- xyLineColor=
''
¶ A String specifying the color used to plot the X - Y time tracker line when xyUseHighlightMethod = False. The default value is “Yellow”.
- xyShowSymbol=
1
¶ A Boolean specifying whether to show the time tracker symbols. The default value is ON.
- xySymbolMarker=
DEFAULT
¶ A SymbolicConstant specifying the marker type to be used for all animation capable X - Y curve or the SymbolicConstant DEFAULT specifying that the system will take the marker associated to each curve Possible values are:
FILLED_CIRCLE
FILLED_SQUARE
FILLED_DIAMOND
FILLED_TRI
HOLLOW_CIRCLE
HOLLOW_SQUARE
HOLLOW_DIAMOND
HOLLOW_TRI
CROSS
XMARKER
DEFAULT
The default value is DEFAULT.
- xySymbolSize=
MEDIUM
¶ A SymbolicConstant specifying the size of the markers. Possible values are SMALL, MEDIUM, and LARGE. The default value is MEDIUM.
- xySymbolColor=
''
¶ A String specifying the color used to plot X - Y time tracker symbols when xyUseHighlightMethod = False. When setting the color to ‘Default’ the system will take the color associated to each curve. The default value is “Default”.
- mode=
-
timeHistoryMode : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant` =
'FRAME_BASED'
[源代码]¶ A SymbolicConstant specifying whether the time history animation is time based or frame based. Possible values are FRAME_BASED and TIME_BASED. The default value is FRAME_BASED.
-
timeIncrement : --is-rst--:py:class:`float` | :py:obj:`None` =
None
[源代码]¶ A Float specifying the time increment for frame selection when timeHistoryMode is set to TIME_BASED.
-
xyLineColor : --is-rst--:py:class:`str` =
''
[源代码]¶ A String specifying the color used to plot the X - Y time tracker line when xyUseHighlightMethod = False. The default value is “Yellow”.
-
xyLineStyle : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant` =
'SOLID'
[源代码]¶ A SymbolicConstant specifying the X - Y time tracker line style. Possible values are SOLID, DASHED, DOTTED, and DOT_DASH. The default value is SOLID.
-
xyLineThickness : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant` =
'MEDIUM'
[源代码]¶ A SymbolicConstant specifying the X - Y time tracker line thickness. Possible values are VERY_THIN, THIN, MEDIUM, and THICK. The default value is MEDIUM.
-
xyShowLine : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
1
[源代码]¶ A Boolean specifying whether to show the time tracker line. The default value is ON.
-
xyShowSymbol : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
1
[源代码]¶ A Boolean specifying whether to show the time tracker symbols. The default value is ON.
-
xySymbolColor : --is-rst--:py:class:`str` =
''
[源代码]¶ A String specifying the color used to plot X - Y time tracker symbols when xyUseHighlightMethod = False. When setting the color to ‘Default’ the system will take the color associated to each curve. The default value is “Default”.
-
xySymbolMarker : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant` =
'DEFAULT'
[源代码]¶ A SymbolicConstant specifying the marker type to be used for all animation capable X - Y curve or the SymbolicConstant DEFAULT specifying that the system will take the marker associated to each curve Possible values are:
FILLED_CIRCLE
FILLED_SQUARE
FILLED_DIAMOND
FILLED_TRI
HOLLOW_CIRCLE
HOLLOW_SQUARE
HOLLOW_DIAMOND
HOLLOW_TRI
CROSS
XMARKER
DEFAULT
The default value is DEFAULT.
-
frameCounter : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
- class AnimationSession[源代码]¶
基类:
SessionBase
The following commands operate on Session objects. For more information about the Session object, see Session object.
备注
This object can be accessed by:
import animation
备注
Member Details:
- Movie(
- name,
- fileName,
- startFrame=
0
, - endFrame=
None
, - timelineStartFrame=
0
, - timelineEndFrame=
None
, - timelineStartTime=
0
, - timelineEndTime=
END_FRAME_TIME
, This method creates a Movie object from the contents of the specified file.
备注
This function can be accessed by:
session.Movie
备注
Check Movie on help.3ds.com/2020.
- 参数:¶
- name¶
A String specifying the repository name for the movie.
- fileName¶
A String specifying the file from which the movie is to be read. The file extension must be specified and indicates the movie format (.avi, .mov, .mpeg, or .wmv).
- startFrame=
0
¶ An Int specifying the first frame to be displayed from this movie. The default value is 0.
- endFrame=
None
¶ An Int specifying the last frame to be displayed from this movie. A negative number will indicate reverse numbering: -1 is the last frame of the movie. The default value is −1.
- timelineStartFrame=
0
¶ An Int specifying the global timeline frame number that corresponds to startFrame. A value of 0 will indicate the first frame to be displayed in the viewport. The default value is 0.
- timelineEndFrame=
None
¶ An Int specifying the global timeline frame number that corresponds to endFrame. A negative number will indicate reverse numbering: -1 indicates the last frame to be displayed in the viewport. The default value is −1.
- timelineStartTime=
0
¶ A Float specifying the global timeline time that corresponds to the time of startFrame. The default value is 0.0.
- timelineEndTime=
END_FRAME_TIME
¶ The SymbolicConstant END_FRAME_TIME or a Float specifying the global timeline time that corresponds to the time of endFrame. The SymbolicConstant END_FRAME_TIME indicates the time in this movie corresponding to endFrame. The default value is END_FRAME_TIME.
- 返回:¶
A Movie object.
- 返回类型:¶
- 抛出:¶
ValueError – Unable to open movie file, If fileName does not exist or can not be read.
ValueError – Unsupported movie format, If fileName references an unsupported movie file format
ValueError – Unable to decode movie file, If the contents of fileName are corrupt or can not be decoded.
-
writeImageAnimation(fileName, format, canvasObjects=
()
)[源代码]¶ This method writes the animations present in the list of canvas objects to a file. It generates an animation file using the given file name and file format and uses the values in the appropriate options object.
- 参数:¶
- fileName¶
A String specifying the name of the animation file to generate.
- format¶
A SymbolicConstant specifying the format of the generated file. Possible values are AVI, QUICKTIME, VRML, and COMPRESSED_VRML.
- canvasObjects=
()
¶ A sequence specifying the canvas objects to capture. The default behavior is to capture all canvas objects.
- class Movie(
- name,
- fileName,
- startFrame=
0
, - endFrame=
None
, - timelineStartFrame=
0
, - timelineEndFrame=
None
, - timelineStartTime=
0
, - timelineEndTime=
END_FRAME_TIME
, 基类:
_OptionsBase
The Movie object is used to store values and attributes associated with a movie file. Upon creation, the Movie object is added to the session.movies repository.
备注
This object can be accessed by:
import animation session.movies[name]
备注
Check Movie on help.3ds.com/2020.
Member Details:
-
duration : --is-rst--:py:class:`float` | :py:obj:`None` =
None
[源代码]¶ A Float specifying the duration of the movie in seconds.
-
endFrame : --is-rst--:py:class:`int` | :py:obj:`None` =
None
[源代码]¶ An Int specifying the last frame to be displayed from this movie. A negative number will indicate reverse numbering: -1 is the last frame of the movie. The default value is −1.
- fileName : --is-rst--:py:class:`str`[源代码]¶
A String specifying the file from which the movie is to be read. The file extension must be specified and indicates the movie format (.avi, .mov, .mpeg, or .wmv).
-
height : --is-rst--:py:class:`int` | :py:obj:`None` =
None
[源代码]¶ An Int specifying the height of the movie in pixels.
-
memory : --is-rst--:py:class:`int` | :py:obj:`None` =
None
[源代码]¶ An Int specifying the memory taken by the movie frames as selected.
-
numFrames : --is-rst--:py:class:`int` | :py:obj:`None` =
None
[源代码]¶ An Int specifying the total number of frames on the movie file.
- setValues(
- startFrame=
0
, - endFrame=
None
, - timelineStartFrame=
0
, - timelineEndFrame=
None
, - timelineStartTime=
0
, - timelineEndTime=
END_FRAME_TIME
, This method modifies the Movie object.
备注
- 参数:¶
- startFrame=
0
¶ An Int specifying the first frame to be displayed from this movie. The default value is 0.
- endFrame=
None
¶ An Int specifying the last frame to be displayed from this movie. A negative number will indicate reverse numbering: -1 is the last frame of the movie. The default value is −1.
- timelineStartFrame=
0
¶ An Int specifying the global timeline frame number that corresponds to startFrame. A value of 0 will indicate the first frame to be displayed in the viewport. The default value is 0.
- timelineEndFrame=
None
¶ An Int specifying the global timeline frame number that corresponds to endFrame. A negative number will indicate reverse numbering: -1 indicates the last frame to be displayed in the viewport. The default value is −1.
- timelineStartTime=
0
¶ A Float specifying the global timeline time that corresponds to the time of startFrame. The default value is 0.0.
- timelineEndTime=
END_FRAME_TIME
¶ The SymbolicConstant END_FRAME_TIME or a Float specifying the global timeline time that corresponds to the time of endFrame. The SymbolicConstant END_FRAME_TIME indicates the time in this movie corresponding to endFrame. The default value is END_FRAME_TIME.
- startFrame=
- 抛出:¶
RangeError – If startFrame,*endFrame*,*timelineStartFrame*,*timelineEndFrame*,*timelineStartTime*, or*timelineEndTime* are outside their respective valid range.
-
startFrame : --is-rst--:py:class:`int` =
0
[源代码]¶ An Int specifying the first frame to be displayed from this movie. The default value is 0.
-
timelineEndFrame : --is-rst--:py:class:`int` | :py:obj:`None` =
None
[源代码]¶ An Int specifying the global timeline frame number that corresponds to endFrame. A negative number will indicate reverse numbering: -1 indicates the last frame to be displayed in the viewport. The default value is −1.
-
timelineEndTime : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant`, :py:class:`float`] =
'END_FRAME_TIME'
[源代码]¶ The SymbolicConstant END_FRAME_TIME or a Float specifying the global timeline time that corresponds to the time of endFrame. The SymbolicConstant END_FRAME_TIME indicates the time in this movie corresponding to endFrame. The default value is END_FRAME_TIME.
-
timelineStartFrame : --is-rst--:py:class:`int` =
0
[源代码]¶ An Int specifying the global timeline frame number that corresponds to startFrame. A value of 0 will indicate the first frame to be displayed in the viewport. The default value is 0.
-
duration : --is-rst--:py:class:`float` | :py:obj:`None` =
- class ImageAnimation(fileName, format)[源代码]¶
基类:
object
The ImageAnimation object is used to build frame by frame animation.
备注
This object can be accessed by:
import animation session.imageAnimation
备注
Member Details:
- closed()[源代码]¶
This method indicates if the ImageAnimation is open or closed for writing animation frames.
-
fileName : --is-rst--:py:class:`str` =
''
[源代码]¶ A String specifying the file to which the animation frames is to be written.
-
writeFrame(canvasObjects=
()
)[源代码]¶ This method adds a frame to the ImageAnimation object.
- class ImageAnimationOptions[源代码]¶
基类:
_OptionsBase
The ImageAnimationOptions object is used to store values and attributes associated with saving viewport animations. The ImageAnimationOptions object has no constructor. Abaqus creates the imageAnimationOptions member when the animation module is imported.
备注
This object can be accessed by:
import animation session.imageAnimationOptions
Member Details:
-
compass : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
0
[源代码]¶ A Boolean specifying whether to capture the view compass. The default value is OFF.
-
frameRate : --is-rst--:py:class:`int` | :py:obj:`None` =
None
[源代码]¶ An Int specifying the frame rate to record on the saved animation file. The effective frame rate in frames per second will be obtained by dividing the given frame rate by the time scale.
- setValues(
- frameRate=
None
, - timeScale=
None
, - vpDecorations=
1
, - vpBackground=
0
, - compass=
0
, This method modifies the ImageAnimationOptions object.
- 参数:¶
- frameRate=
None
¶ An Int specifying the frame rate to record on the saved animation file. The effective frame rate in frames per second will be obtained by dividing the given frame rate by the time scale.
- timeScale=
None
¶ An Int specifying the time scale to apply to the frame rate.
- vpDecorations=
1
¶ A Boolean specifying whether to capture the viewport border and title. The default value is ON.
- vpBackground=
0
¶ A Boolean specifying whether to capture viewport backgrounds. The default value is OFF.
- compass=
0
¶ A Boolean specifying whether to capture the view compass. The default value is OFF.
- frameRate=
-
compass : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
- class QuickTimeOptions[源代码]¶
基类:
_OptionsBase
The QuickTimeOptions object is used to store values and attributes to be used in generating QuickTime animation. The QuickTimeOptions object has no constructor. Abaqus creates the quickTimeOptions member when the animation module is imported.
备注
This object can be accessed by:
import animation session.quickTimeOptions
备注
Member Details:
-
compressionMethod : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant` =
'RLE24'
[源代码]¶ A SymbolicConstant specifying the compression method for the QuickTime format. Possible values are:
RAW24, specifying an uncompressed format of 24 bits per pixel.
RLE24, specifying a run length encoded format of 24 bits per pixel.
The default value is RLE24.
-
imageSize : --is-rst--:py:class:`int` | :py:obj:`None` =
None
[源代码]¶ A pair of Ints specifying the width and height of the image in pixels when sizeDefinition = USER_DEFINED. Possible values are Ints in the range (minWidth, minHeight) ≤ (width, height) ≤ (maxWidth, maxHeight). The default value is the screen size. Note: The values of the minimum width (minWidth) and height (minHeight) depend on the following:viewport font size,whether decorations are printed,decoration size, and screen resolution.The minimum width and height are normally < 50 pixels. The values of the maximum width (maxWidth) and height (maxHeight) depend on the graphics capabilities of the system. The maximum width and height will be at least as large as the screen dimensions.
- setValues(
- compressionMethod=
RLE24
, - sizeDefinition=
SIZE_ON_SCREEN
, - imageSize=
None
, This method modifies the QuickTimeOptions object.
- 参数:¶
- compressionMethod=
RLE24
¶ A SymbolicConstant specifying the compression method for the QuickTime format. Possible values are:
RAW24, specifying an uncompressed format of 24 bits per pixel.
RLE24, specifying a run length encoded format of 24 bits per pixel.
The default value is RLE24.
- sizeDefinition=
SIZE_ON_SCREEN
¶ A SymbolicConstant specifying how the width and height of the image are specified. Possible values are SIZE_ON_SCREEN and USER_DEFINED. The default value is SIZE_ON_SCREEN.
- imageSize=
None
¶ A pair of Ints specifying the width and height of the image in pixels when sizeDefinition = USER_DEFINED. Possible values are Ints in the range (minWidth, minHeight) ≤ (width, height) ≤ (maxWidth, maxHeight). The default value is the screen size. Note: The values of the minimum width (minWidth) and height (minHeight) depend on the following:viewport font size,whether decorations are printed,decoration size, and screen resolution.The minimum width and height are normally < 50 pixels. The values of the maximum width (maxWidth) and height (maxHeight) depend on the graphics capabilities of the system. The maximum width and height will be at least as large as the screen dimensions.
- compressionMethod=
-
compressionMethod : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant` =