![autodesk design review 2018 freezes when exiting autodesk design review 2018 freezes when exiting](https://crack4windows.com/thumbnail?path=%2Fcontent%2Fimages%2Fscreens%2Fautodesk-dwf-viewer_24.png)
![autodesk design review 2018 freezes when exiting autodesk design review 2018 freezes when exiting](https://i.ytimg.com/vi/svM7n3u86Tg/maxresdefault.jpg)
If it still crashes now there must be a problem in the external rule so in order to further investigate I'd need you to attach that rule as well.By default, AutoCAD creates a backup file when saving and does an autosave that occurs every 10 minutes. When testing i commented out the external rule call since i dont have your external rule. I tested it like this and you can run it both from edit in assembly and from within the part. Maybe in your external rule the part has to be sheetmetal for it to run? Hi still don't understand the reason to convert the part to sheet metal and back beacause it doesn't do any difference in this code. Inventor 2020 Help | Inventor Forum | Inventor Customization Forum | Inventor Ideas Forum Convert All Views To Raster Before Autosave Stores To 'OldVersions' Folder Click Here.Add SolidBodies Folder In iLogic Rule Editor Model Tab Click Here.Save Section View Status In DesignViewRepresentation (So It Can Be Used In The Drawing) Click Here.Constrain & Dimension Images In Assembly Sketches & Drawing Sketches (TitleBlocks & SketchedSymbols) Click Here.MessageBox, InputBox, and InputListBox Size & Format Options Click Here.If you agree with any of them, please vote for them. Īlso, if you're interested, here are a few of the 'Ideas' I'd like to get implemented. Or, if this helps you reach your goal, please click 'LIKES". If this solves your problem, or answers your questions, please click 'Accept As Solution". OCProps.Item("D").Value = Strings.FormatNumber(oD,0,TriState.UseDefault,TriState.UseDefault,TriState.False) OCProps.Item("B").Value = Strings.FormatNumber(oB,0,TriState.UseDefault,TriState.UseDefault,TriState.False) OCProps.Item("L").Value = Strings.FormatNumber(oL,0,TriState.UseDefault,TriState.UseDefault,TriState.False)
#Autodesk design review 2018 freezes when exiting code
'Insert code here to check if these iProperties exist or not, then create if not found. Please select a Part.", vbOK + vbExclamation, "WRONG DOCUMENT TYPE")ĭim oPDoc As PartDocument = ĭim oRB As Box = ĭim oXDim As Double = ( - )ĭim oYDim As Double = ( - )ĭim oZDim As Double = ( - )ĭim oL As Double = MaxOfMany(oXDim, oYDim, oZDim)ĭim oD As Double = MinOfMany(oXDim, oTDim, oZDim)ĭim oB As Double = (((oXDim + oYDim + oZDim) -oL) -oD)ĭim oCProps As PropertySet = ("Inventor User Defined Properties") If oPOcc.DefinitionDocumentType DocumentTypeEnum.kPartDocumentObject Then OPOcc = (SelectionFilterEnum.kAssemblyOccurrenceFilter, "Select Part.") This code doesn't convert the part to Sheet Metal and back, or Flatten the part.just measures it and writes those measurements to that parts iProperties, as you were trying to do, but in a different way.īut it should get you back on the right track.ĭim oADoc As AssemblyDocument = ThisApplication.ActiveDocumentĭim oADef As Assembl圜omponentDefinition = oADoc.ComponentDefinition Here is some code to get you a bit further along with what it sounds like you're trying to do. I agree with Joel, that you would need to define the part in a different way too.If so, I'm not seeing where you are flattening the model out, before measuring it.If it is not flat, are trying to get the size of the material, after it is "flattened"?.If it is flat, you don't have to convert it to Sheet Metal to get its size.Is this part already modeled as if it was bent, or is it flat?.So, this is a normal non-sheet metal part within an assembly, and you want to retrieve physical size measurements from that part and write them to the iProperties of that Part (not the assembly), correct?