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>]

     

  • 相关阅读:
    西瓜书第三章-线性回归模型
    西瓜书第三章-线性模型【Logistic回归】(对数几率回归)
    Matlab绘图(二)低频率命令总结
    LaTex 资源总结
    plsql developer安装和使用遇到的问题解决
    【maven依赖包版本号是unknown导致无法下载】问题解决
    解决TortoiseGit报错:git did not exit cleanly (exit code 128)
    os模块的常用方法使用
    pycharm总是没有输出结果只是Process finished with exit code 0
    Jmeter发送post请求,报错:Content type 'text/plain;charset=UTF-8' not supported
  • 原文地址:https://www.cnblogs.com/softimagewht/p/2217825.html
Copyright © 2011-2022 走看看