-
You must convert existing shapes to SplineShapes in order to operate on them with the these methods. Use the convertToSplineShape() function to do this.
-
Only the updateShape() function updates the shape ' s internal caches and images in 3ds Max viewports. This is because updates can be computationally expensive and you don ' t want them performed on every function call. However, you must make sure you do call the updateShape() function after a series of changes and before the shape is to be worked on in 3ds Max or by other functions in MAXScript.
-
The in and out vectors for Bezier control points are given as vector handle coordinates, not as true vectors as the names suggests.
-
Coordinates are given in the MAXScript working coordinate system - this is important to note if you are familiar with the corresponding SDK spline functions which always work in object-local coordinates.
-
If the updateShape() function is called on an object that is selected and currently open in the Modify panel, it will drop the current selection in order to avoid a potential crash in 3ds Max , which at the moment, does not support scripted changes to an object open in the Modify panel.
-
If you are creating or modifying a spline object, and have not yet run updateShape() on the spline, 3ds Max will crash if you minimize and then maximize the 3ds Max window. This is because an only partially created spline is created, and the internal 3ds Max spline structure is left in an unstable state.

本文详细介绍了如何将3ds Max中的现有形状转换为样条形状,以便使用特定的方法进行操作。重点阐述了更新形状时可能遇到的问题及解决方案,包括在修改面板中更改对象时的潜在崩溃风险、在3ds Max视口中更新形状内部缓存和图像的重要性、以及在调用updateShape()函数前和后执行操作的必要性。
3088

被折叠的 条评论
为什么被折叠?



