mv.fd_types.Assembly_Object()

    Follow

    PROPERTIES

    obj (bpy.types.Object) - The blender object 

    FUNCTIONS

    set_name(name) - sets the name of the object

    • RETURNS - None
    • name (string) - name to assign to the object

    get_var(data_path,var_name="") - Returns a variable which can be used in python expressions. 

    • RETURNS - fd_types.Variable
    • data_path (string never None) - data path to retrieve the variable from there are reserved names that can be used otherwise a name of a prompt should be used.
      • dim_x
      • dim_y
      • dim_z
      • loc_x
      • loc_y
      • loc_z
      • rot_x
      • rot_y
      • rot_z
      • world_loc_x
      • world_loc_y
      • world_loc_z
    • var_name - The variable name to use in the python expression. If an empty string is passed in then the data_path is used as the variable name. All spaces are replaced with the underscore character.

    hide(expression="",driver_vars=[],value=0) - assigns a formula or a value to the hide property of the object

    • RETURNS - None
    • expression (string) - the formula to assign
    • drive_vars (list of fd_types.Variable) - list of all of the variables that are used in the expression
    • value - value to set to the hide property of the object. this is only used when not setting an expression

    material(material_pointer_name,slot_name="") - Sets the pointer property for the material slots for the object

    • RETURNS - None
    • material_pointer_name (string) - name of the material pointer to assign
    • slot_name (string) - name of the material slot to assign the material pointer to. if this is blank then every slot will be set

    x_loc(expression="",driver_vars=[],value=0) - assigns a formula or a value to x_location of the assembly 

    • RETURNS - None
    • expression (string) - the formula to assign
    • drive_vars (list of fd_types.Variable) - list of all of the variables that are used in the expression
    • value - value to set to the x location of the assembly. this is only used when not setting an expression

    y_loc(expression="",driver_vars=[],value=0) - assigns a formula or a value to y_location of the object

    • RETURNS - None
    • expression (string) - the formula to assign
    • drive_vars (list of fd_types.Variable) - list of all of the variables that are used in the expression
    • value - value to set to the y location of the object. this is only used when not setting an expression

    z_loc(expression="",driver_vars=[],value=0) - assigns a formula or a value to z_location of the object

    • RETURNS - None
    • expression (string) - the formula to assign
    • drive_vars (list of fd_types.Variable) - list of all of the variables that are used in the expression
    • value - value to set to the z location of the object. this is only used when not setting an expression

    x_rot(expression="",driver_vars=[],value=0) - assigns a formula or a value to x_rotation of the object

    • RETURNS - None
    • expression (string) - the formula to assign
    • drive_vars (list of fd_types.Variable) - list of all of the variables that are used in the expression
    • value - value to set to the x rotation of the object. this is only used when not setting an expression

    y_rot(expression="",driver_vars=[],value=0) - assigns a formula or a value to y_rotation of the object

    • RETURNS - None
    • expression (string) - the formula to assign
    • drive_vars (list of fd_types.Variable) - list of all of the variables that are used in the expression
    • value - value to set to the y rotation of the object. this is only used when not setting an expression

    z_rot(expression="",driver_vars=[],value=0) - assigns a formula or a value to z_rotation of the object

    • RETURNS - None
    • expression (string) - the formula to assign
    • drive_vars (list of fd_types.Variable) - list of all of the variables that are used in the expression
    • value - value to set to the z rotation of the object. this is only used when not setting an expression

    x_dim(expression="",driver_vars=[],value=0) - assigns a formula or a value to x_dimension of the object

    • RETURNS - None
    • expression (string) - the formula to assign
    • drive_vars (list of fd_types.Variable) - list of all of the variables that are used in the expression
    • value - value to set to the x dimension of the object. this is only used when not setting an expression

    y_dim(expression="",driver_vars=[],value=0) - assigns a formula or a value to y_dimension of the object

    • RETURNS - None
    • expression (string) - the formula to assign
    • drive_vars (list of fd_types.Variable) - list of all of the variables that are used in the expression
    • value - value to set to the y dimension of the object. this is only used when not setting an expression

    z_dim(expression="",driver_vars=[],value=0) - assigns a formula or a value to z_dimension of the object

    • RETURNS - None
    • expression (string) - the formula to assign
    • drive_vars (list of fd_types.Variable) - list of all of the variables that are used in the expression
    • value - value to set to the z dimension of the object. this is only used when not setting an expression

    Comments