Automatic Sketch Horizontal/Vertical Relations (Line Entities)

修改于: 十一月 10,2025  
评级
下载: 6  
评论

规格

下载:6
说明:This macro analyzes the angle of each selected sketch line in a SolidWorks part document and automatically applies either a horizontal or vertical sketch relation. If a line's angle is close to 0 or π radians, a horizontal relation is added. If the angle is close to π/2 or 3π/2 radians, a vertical relation is added. Non-linear sketch entities are ignored. This helps enforce orthogonality in sketches for cleaner geometry and easier downstream modeling.
    先决条件: Select sketch entities
  后决条件: All lines will be horizontal/vertical based on how close they already are to that. Rounds roughly by 45° (similar to bold relations)
SOLIDWORKS 版本:{0} Any
编程语言: SW_VBA

 


宏可能包含病毒或其它安全危害。SOLIDWORKS Corporation 没有验证此站点中张贴的宏可安全使用且来自可信源处。

下载 SOLIDWORKS 宏。

 

(需要登录)  

提供者
该用户提供的其它内容

零件和装配体

 

 

 


Abraham Azar III

成为用户的时间: 2009/5/29
标题: Engineer
 
技能:
Design, Modeling, Illustration, Analysis
兴趣:
Manufacturing, Research & Development, Experiments
 
  报告不妥当用户
报告不妥评论