zoukankan      html  css  js  c++  java
  • 一些老找不到的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>]

     

  • 相关阅读:
    Maven3-依赖
    Maven2-坐标
    使用VS Code开发Python
    WinDbg调试分析 asp.net站点 CPU100%问题
    asp.net core2 Centos上配置守护服务(Supervisor)
    asp.net core2部署到Centos上
    IntelliJ Error:Abnormal build process termination
    EF架构~codeFirst从初始化到数据库迁移
    office web apps 实现Wopi预览编辑
    office web apps安装教程
  • 原文地址:https://www.cnblogs.com/softimagewht/p/2217825.html
Copyright © 2011-2022 走看看