![]() ![]() Parameters: filename (`str`): The path to a stylesheet file. lock () def save_stylesheet ( self, filename, plot_style = True, aux_data = True, text = True, geom = True, streams = True, contours = True, defaults = False, relative_paths = True, compress = False ): """Save the frame's current style to a file. ReadStylesheet ( filepath, plot_style, text, geom, streams, contours, merge, frame_geom ): raise TecplotSystemError () code-block:: python import tecplot frame = tecplot.active_frame() # will print: 'Frame: "Frame 001"' print(frame) """ return 'Frame: " to frame'. Returns: `str`: Brief representation of this `Frame`. uid ) def _str_ ( self ): """Brief string representation. uid = uid """The internal unique ID number of this Frame.""" super (). code-block:: python import tecplot frame = tecplot.active_frame() page = frame.page # Will print: "" print(page.name) """ def _init_ ( self, uid, page ): self. This provides access to the parent `Page`. code-block:: python import tecplot frame = tecplot.active_frame() # will print: 'Frame "Frame 001"' print(frame) """ page = None """The `Page` containing this Frame. The `Frame` is what connects a `Dataset` to a `Plot` handle from which one manipulates the desired image as well as accessing the attached data. The concept of the `Frame` is central to understanding the |Tecplot Engine|. One can also create a `Frame` using a `Page` handle with `Page.add_frame()`. (default: `None`) Warning: Though it is possible to create a `Frame` object using the constructor, it is usually sufficient to obtain a frame through `tecplot.active_frame()` or `ame()`. ![]() If `None`, the currently active `Page` is used. (default: `None`) page (`Page`, optional): The destination `Page` of this newly created `Frame`. A new `Frame` is created if set to `None`. Parameters: uid (`int`, optional): This must be a *valid* unique ID number pointing internally to a Frame object or `None`. ![]() Style ): """`Frame` object within a `Page`, holding onto a `Dataset` and a `Plot`. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |