Tutorials

Create and Configure Projects

Create your first TACTIC project and begin basic configuration. -

Create and Configure Projects

Create your first TACTIC project and begin basic configuration. -

Create and Configure Projects

Create your first TACTIC project and begin basic configuration. -

Create and Configure Projects

Create your first TACTIC project and begin basic configuration. -

Create and Configure Projects

Create your first TACTIC project and begin basic configuration. -

Override TACTIC Authentication

- To override the authentication module, fill in the authenticate_class value in the security XML in your Tactic config file to point to your own custom authentication class. <security> <user_table>login</user_table> <group_table>user_group</group_table> <security_table>security</security_table> <ticket_expiry>10 hour</ticket_expiry...

Starting TACTIC in dev mode

- When developing new scripts and plugins for TACTIC it is necessary to be able to see the results of errors as well as print statements. By default, running the TACTIC service will log this data to: /home/apache/tactic_temp/log/stdout.log In dev mode, TACTIC automatically restarts after any changes to .py files. This is convenient as it saves from having to restart TACTIC each time a code changes is made. It also...

Client API - Add an icon to a shot

- Below is a TACTIC ClientAPI example which checks in an icon file to a shot sobject. import sys, os, shutil, getopt from tactic_client_lib import TacticServerStub search_type = "prod/asset" asset_code = "vehicle001" icon_path = "c:/sthpw/wheel.png" def main(): server = TacticServerStub() #Note that the statement in server.start is what shows up in the transaction log...

Undo through the API

-     At times, something may happen in Tactic for example, improper data is entered and the project recieves an error.&nbsp; At this point, an undo will solve the problem but, there is no way to access the interface of the project in question. A solution for this is to run the undo command from another project.&nbsp; In this example, the project which is unaccessable is titled "My...

Connecting to Tactic with Maya Python

-   The following code connects to a Tactic server and returns the path to a snapshot. This example also imports the TacticServerStub from the client folder in the users local sandbox.           Note that the search_key is hardcoded in this case to chr003 3D asset in the Sample3D project.   import sys sys.path.append("c:/sthpw/client...

Simple Load Balance Test

- To test if load balancing has been set up on the Tactic server: Hit "9" on the keyboard to load the Javascript Editor. Also hit "0" to...

TACTIC VMware Image Setup and Install

- The TACTIC VMware Image provides an easy way to use the powerful TACTIC platform on Windows or Linux. Utilizing the VMware Player for Windows or Linux, TACTIC VMware Image allows you to run a...

TACTIC VMware Image Setup and Install

- The TACTIC VMware Image provides an easy way to use the powerful TACTIC platform on Windows or Linux. Utilizing the VMware Player for Windows or Linux, TACTIC VMware Image allows you to run a...

Custom URL Configuration

-     Tactic now includes a new custom URL mechanism which allows for calling UI widgets through a URL which can feed options into the widget through expressions. This is very similar in concept to the Naming Conventions This basically gives you almost complete freedom to customize what tactic URL's look like.  There is a new config/url search type which takes has the following fields: url...

Editing the Task Edit view

-     To edit the Task Edit widget's task view, it requires an overwrite of the tactic default view used for this widget.  This view is called inline_add_item.   To overwrite this, load the widget config and create an entry with the following content:   search_type view config sthpw/task...

Plan an Asset to a Shot

-   To plan an asset to a shot using the Tactic Client API, You would need to do an insert to the search type "prod/shot_instance" where the data required are: asset_code shot_code name type Note: type must be 'asset'. When doing it thru the Shot planner, name is derived from the name attribute in asset table. If more than 1 is planned, a suffix is appended...

Custom Filter config

- Within the Tactic widget config, entries can be added to expose custom filters in the search criteria.  This is defined per Search Type. In the example below, an override is provide for the Search...

Expression as Search for LinkWdg

-   With the support for an expression driven search in the ViewPanelWdg, complex retrieval of Search Objects can be accomplished.  This can be used in any situation where the ViewPanelWdg is being called but, in this example we will embed the expression in the side bar link which calls the view. (Note: Alternatively, we can use table.ui.panel.TableLayoutWdg in place of tactic.ui.panel....

Custom Layout communication simple example

-       The following example provides a popup with a SelectWdg that looks at a list of chat/chat search object by code. ...

Advanced Load Balance Test

-     code load_balance_test folder /test title Load Balance Test script //Ping the server 10 times and return the port used in the output log //-------Options-------------------------------------------------- var MODE = 'popup';    // Mode is 'popup...

Pages