Create a form with an input field called ShaftLength.Click Rules to open the Rules pane.Under Edit, select the check box for Dimensions and click Edit Rules.Double-click the dimension or click Build.In the DriveWorksXpress Rule Builder
Input dimension value Opens the Modify dialog box when you insert a dimension. Single command per pick Clears the sketch and dimension tools after each use. Double-clicking a tool causes the tool to remain selected for additional use. Show thumbnail graphics in Windows Explorer Displays a ...
System Options: General Input dimension value - Edit Dimension box opens when you create a new dimension Single command per pick - tools turn off after one use. To get tools to stay on until turned explicitly off, double click icon (override does not work on RMB) Show dimension names - ...
DimnewDimensionValueAsDouble 获取SolidWorks应用程序对象 SetswApp=Application.SldWorks 获取当前活动的零件文档 SetPart=swApp.ActiveDoc 从用户输入中获取新的尺寸值 newDimensionValue=InputBox(请输入新的尺寸值(单位:毫米),参数输入) 遍历所有特征 Fori=1ToPart.GetFeatureCount ...
(一般) T swOpenLastUsedDocumentAtStart T swInputDimValOnCreate T swSingleCommandPerPick T swShowDimensionNames T swShowErrorsEveryRebuild T swMaximizeDocumentOnOpen T swUseShadedFaceHighlight T swThumbnailGraphics T swUseSystemSeparatorForDims T swUseEnglishLanguage T T T swEnableConfirmationCorner ...
13 与设置相关的各种表格参数系统选项(一般) T swOpenLastUsedDocumentAtStart T swInputDimValOnCreate T swSingleCommandPerPick T swShowDimensionNames T swShowErrorsEveryRebuild T swMaximizeDocumentOnOpen T swUseShadedFaceHighlight T swThumbnailGraphics T swUseSystemSeparatorForDims T swUseEnglishLanguage...
8、 TswInputDimValOnCreateTswSingleCommandPerPickTswShowDimensionNamesTswShowErrorsEveryRebuildTswMaximizeDocumentOnOpenTswUseShadedFaceHighlightTswThumbnailGraphics TswUseSystemSeparatorForDimsTswUseEnglishLanguage TTTswEnableConfirmationCornerTswAutoShowPropertyManager swEnablePropertyManager TswSave 9、EModelDataTswNotif...
44、nu tools / options / out detail labels, and specify this optio n.111 if you want to place the size text in the middle of the dimension line, right-click on the size and select the command in the text pair113 in an engineering drawing, if you want to display a diameter dimension...
SwDetailingDimensionTextAlignmentHorizontal 1=靠左;2=置中;2=靠右 SwDetailingDimensionTextAlignmentVertical 0=靠向;1=中间;2=靠下 IV IV T T SwDetailingArrowStyleForDimensions 0-9(请参考帮助) swDetailingdimensionArrowPostion 0=向外;1=向内;2=智能 swDetailingRadialDimsDisplay2ndOutsideArrow swDetailing...
i+1].Select4(True,arg_Nothing) part.AddVerticalDimension2(xpos,ypos,0) def dimensionymax...