• 一些老找不到的MAX脚本函数备份


    showClass <pattern_string> [ to:<stream> ]

    showProperties <maxwrapper_object> [ <property_pattern> ] [ to:<stream> ]

    getProperty <obj> <property_name>

    setProperty <obj> <property_name> <value>

    getPropertyController <value> <string_or_name>

    setPropertyController <value> <string_or_name> <controller>

    hasProperty <obj> <prop_name_or_pattern_string>

    isProperty <MAXWrapper_object> <property_name_or_string>

    isPropertyAnimatable <obj> <string_or_name>

    <MAXWrapperobject>.category Name, read-only

    <maxclass>.category Name, read-only

    <maxsuperclass>.categories Array, read-only

    The category property returns a Name value containing the category. You can use it on either a 3ds Max object class, such as Line, Box, or Fog, or on an instance of any 3ds Max object class. For scene nodes, the category usually corresponds to one of the names in the drop down list in the Create panel. These are the categories such as #Standard_Primitives, #Compound_Objects, and #Particles_Only.

    For modifiers, the category determines which group the modifier appears in the Configure Button Sets / Modifiers list. These are the categories such as #MAX_STANDARD, #MAX_EDIT, and #MAX_SURFACE.

    For textures, the category determines which group the texture appears in the Material/Map Browser. These are the categories such as #2D (2D maps), #3D (3D maps), and #COMP (Compositors).

    The categories property can be used on any of the 3ds Max object superclasses, such as Shape, GeometryClass, Helper, SpacewarpObject, TextureMap, or Modifier, to get a list of the available categories for that superclass, returned as an array of Names.

    FOR EXAMPLE:

     

    $line01.category -- returns #Splines

    Gengon.category -- returns #Extended_Primitives

    Shape.categories -- returns #(#Shape, #Splines, #NURBS_Curves)

     

     

    <maxsuperclass>.classes Array, read-only

    Returns an array of MAXClass values that belong to the MAXSuperClass. These MAXClass values can be used to create instances of the class.

    FOR EXAMPLE:

     

    --create an instance of each light class:

    for aLight in light.classes do aLight()

     

     

     

    <MAXWrapperobject>.classID

    <maxclass>.classID

    The classID property retrieves the internal 3ds Max Class ID of the MAXWrapper classes and objects.

    The value returned is an array containing two numbers, PartA and PartB of the 3ds Max internal class ID.

    For a MAXWrapper object, the value returned is the Class ID of the class the object is an instance of.

    The combination of the PartA and PartB numbers is guaranteed to be unique for each class.

    FOR EXAMPLE:

     

    Box.classID -- returns #(16, 0)

    b=box()

    b.classID -- returns #(16, 0)

     

     

     

    <MAXWrapperObject>.superClassID

    <maxclass>.superClassID

    Retrieves the 3ds Maxsuperclass ID of the MAXWrapper classes and objects.

     

    <maxclass>.creatable

    Read-only Boolean property. Returns true if the class is flagged as being creatable. This property returning true does not guarantee that the class is really creatable.

     

    <maxclass>.ispb2based

    Read-only Boolean property. Returns true if the underlying class definition is a ClassDesc2, false if a ClassDesc. ClassDesc2 classes use ParamBlock2, ClassDesc classes use ParamBlock (pre-3ds Max 3).

     

    <maxclass>.localizedName

    A read-only property which returns the localized name of the class.

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

    getSubAnimName <maxwrapper_object> <index> [asString:<Boolean>]

     

  • 相关阅读:
    SpringBoot 项目 打包为 Docker镜像
    0/1 nodes are available: 1 node(s) had taints that the pod didn't tolerate.
    注册k8s到rancher时 agent pods一直处于containercreating状态
    linux查看磁盘使用情况
    linux修改系统时间、时区
    windows 添加路由
    Notebook Docker 安装spark环境
    openlayers6加载天地图混乱问题
    Oracle 高效分页
    VSCode 终端无法打开
  • 原文地址:https://www.cnblogs.com/softimagewht/p/2217825.html
Copyright © 2020-2023  润新知