此版本中引入的重要行为和 API 更改。如果您已经有使用 devDept 产品的项目,您将需要仔细阅读此列表,以了解您可能需要对源代码进行的更改以支持此新版本。

2024.0
| BC-232 | 更改了 GetVisualRefinement() 方法 | Document.GetVisualRefinement()方法现在返回RegenParams类 |
| BC-231 | 删除了 LicenseManager 类 | 删除了LicenseManager类别以支持新的许可模型 |
| BC-230 | 重命名InitializeScene事件 | Workspace.InitializeScene将事件重命名为ContentRendered.此事件仅对于 WPF UserControl 实现是必需的。 |
| BC-229 | PrintSimulationMesh 和 MultiFastMesh 类 |
MotionRangeStyle可见性从 更改为public(internal仅用于从/向 .eye 文件读取/写入) MotionRangeSurrogate可见MotionRangeStyleSurrogate性从public变为internal MultiFastMesh变化:
- 从
public Tuple<int, int, Color>[] SubMeshColors到List<SubMeshInterval> SubMeshIntervals - 从
public MultiFastMesh(float[], float[], int[], Tuple<int, int>[])到public MultiFastMesh(float[], float[], int[], IntInterval[]) MultiFastMesh.Compile(CompileParams)EyeshotException如果不支持 VBO,则抛出异常。
PrintSimulationMesh变化:
- 从
public void SetVisualStyle(IList<MotionRangeStyle>, Dictionary<string, Color>)到public void SetVisualStyle(IList<MotionInterval>, Dictionary<string, Color>) - 已删除的属性
public Dictionary<string, Color> StyleColors(字典不再可访问,客户端可以使用以下方法更改其内容Get/SetStyleColor(string) - 从
public MotionRange[] MotionsByLayer到public IntInterval[] MotionsByLayer - 从
public PrintSimulationMesh(Toolpath, IList<MotionRangeStyle>, Dictionary<string, Color>, Plane)到public PrintSimulationMesh(Toolpath, IList<MotionInterval>, Dictionary<string, Color>, Plane, float?)
Toolpath.Motion变化:
- 已删除(由和
public float PrintExtrusionRadius替换)PrintExtrusionRadiusXPrintExtrusionRadiusY
- 在构造函数中,
public MultiFastMesh(float[], float[], int[], IntInterval[])sIntInterval被视为闭区间,如 的IntInterval文档中所述(在此更改之前它们被解释为开区间)
|
| BC-228 | 从代码选择方法名称中删除了 Leaf 后缀 | GetAllCrossingEntitiesLeaf()将方法重命名为GetAllCrossingEntities() 将GetCrossingEntitiesLeaf()方法重命名为将方法重命名为GetCrossingEntities() 已删除GetAllEnclosedEntitiesLeaf()GetAllEnclosedEntities()
protected overload Workspace.GetCrossingEntities(Rectangle, bool , out List<SelectedItem>, bool) |
| BC-227 | 国际金融公司财产 | 删除了IfcMesh、IfcBlockReference、 和IfcLinearPath类。 IFC 物业现已位于新Entity.IfcProperties物业内。 删除了该类IfcLayer并将关联的描述和标识符属性移至该类Layer。 |
| BC-226 | WPF 工具栏颜色属性 | 更改了 WPFToolBar.BackgroundColor和ToolBar.BackgroundBorderColor类型System.Drawing.ColorSystem.Windows.Media.Brush |
| BC-225 | 删除了 SketchManager 类 | 请查看这篇文章。 |
| BC-224 | 进度条类 | 关闭了一些ProgressBar类方法:
DrawCircular()DrawCircularContinous()ComputeCircular()DrawDocked()DrawDockedContinuous()DrawLinear()DrawLinearContinuous()DrawProgressCircularTick()
|
| BC-223 | 删除了 ResizeBegin() | 删除了过时的Workspace.ResizeBegin()方法 |
| BC-222 | DWG/DXF 导入 | ReadAutodesk具有定义厚度的拉伸曲面和曲线现在作为实体从类导入Brep。 |
Eyeshot 2024版本基于NET6/NET7/NET8和Framework 4.7.2