![]() 'Update all iLogicVb.The 3-in-1 Smart Car and IOT Learning Kit from SunFounder has everything you need to learn how to master the Arduino. SDisplayName = sPartNumber & " - " & sCustomDescription ![]() SCustomDescription = SentenceCase(oPropCustom.Item("CustomDescription").Value) ![]() SType = UCase(oPropCustom.Item("Type").Value) ![]() ILogicForm.ShowGlobal("Custom iProperties for Part or Assembly") SCustomPartNumber = oPropCustom.Item("CustomPartNumber").Value SCustomMaterial = oPropCustom.Item("CustomMaterial").Value SCustomDescription = oPropCustom.Item("CustomDescription").Value OProp = oPropCustom.Item(oCustomProperty) 'Add custom properties with no defined valuesĪCustomPropertiesAll.Add("CustomMaterial")ĪCustomPropertiesAll.Add("CustomPartNumber")ĪCustomPropertiesAll.Add("CustomDescription")įor Each oCustomProperty in aCustomPropertiesAll SPartNumber = oPropProject.Item("Part Number").Value ILogicForm.ShowGlobal("Custom iProperties for Drawing") 'MsgBox("This is a drawing document.","Information")ĭim aCustomPropertiesAll As New ArrayListĪCustomPropertiesAll.Add("RevDescription") 'MsgBox("This is an assembly document.","Information") 'MsgBox("This is a part document.","Information") 'Check what type of document Select Case oDoc.DocumentType 'String variables Dim sCustomDescription As String Dim sCustomPartNumber As String Dim sCustomDescriptionDefaultEntry As String Dim sTypeDefaultEntry As String Dim sCustomMaterial As String Dim sCustomMAterialDefaultEntry As String Dim sDescription As String Dim sDisplayName As String Dim sPartNumber As String Dim sType As String 'Boolean variables Dim isPart As Boolean = False Dim isAssembly As Boolean = False Dim isDrawing As Boolean = False 'Object variables Dim oDoc As Document = ThisApplication.ActiveDocument Dim oPropSets As PropertySets = oDoc.PropertySets Dim oPropCustom As PropertySet = oPropSets.Item("Inventor User Defined Properties") Dim oPropProject As PropertySet = oPropSets.Item("Design Tracking Properties") I would suggest saving the code and the form as external files that your Inventor points to (for single-user). The forms are easily made in Inventor using the iLogic user interface. I also have two forms, one for the drawing and one for part/assembly. Here's my full code, which does other things that you might not want (such as changing the display name). Facebook links will be caught in the spam filter, if you are linking to a public profile then message the moderators so that we can approve it as soon as we can. Memes are not allowed.Īvoid using Facebook as it may lead to revealing the personal info of other people. gif file try to submit it through Imgur or Minus since most other sites will probably be either caught within the spam filter or may be non-recommended sites across Reddit. While it isn't required, if you need help with a project, it is recommended that you provide a screenshot of it so others have a better viewpoint of how to help you finish/fix your project.Īlso when submitting an image or a. Do not be afraid to ask even what you might consider a silly question if it's standing between you and accomplishing your design!ĭon't be afraid to request for help from fellow Autodesk users, we will be more than happy to help and don't be afraid to offer help as well for those who need help with something they are doing ![]() Not interested in sharing models because you need some help completing your next big work? Ask questions! Everyone has to start somewhere, and Inventor is a rather strong and healthy piece of software.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |