<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: custom field for 3D PDF exporting in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/custom-field-for-3d-pdf-exporting/m-p/12679011#M165675</link>
    <description>&lt;P&gt;Here's code to remove the decimal places from the mass. It will also add a 'g' (meaning grams).&lt;/P&gt;
&lt;LI-CODE lang="general"&gt;{{{(topComponent['Mass'].toFixed() + ' g') || "" }}}&lt;/LI-CODE&gt;
&lt;P&gt;&lt;BR /&gt;The following will convert the Design Status to text:&lt;/P&gt;
&lt;LI-CODE lang="general"&gt;{{{(topComponent['Design Status'] == 2 ? 'Pending' : (topComponent['Design Status'] == 3 ? 'Released' : 'Work In Progress'))}}}&lt;/LI-CODE&gt;
&lt;P&gt;&lt;BR /&gt;The following can be used to remove the time from a date property. It does it by removing the blank (specified by \s) between the date and time, and everything after the blank.&lt;/P&gt;
&lt;LI-CODE lang="general"&gt;{{{ topComponent['Date Checked'].replace(/\s.*/g, '') }}}&lt;/LI-CODE&gt;</description>
    <pubDate>Mon, 01 Apr 2024 15:57:37 GMT</pubDate>
    <dc:creator>MjDeck</dc:creator>
    <dc:date>2024-04-01T15:57:37Z</dc:date>
    <item>
      <title>custom field for 3D PDF exporting</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/custom-field-for-3d-pdf-exporting/m-p/12652786#M165135</link>
      <description>&lt;P&gt;I need to customize a 3d PDF and there are some fields that I can not export information from. The information is taken from the Iproperties.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;These two works and I get the information out correctly:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;{{{ topComponent['Part Number'] || "" }}}&lt;/P&gt;&lt;P&gt;{{{ topComponent.Title || "" }}}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;However, this three fields becomes empty:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;{{{ topComponent['Creation Date'] || "" }}}&lt;/P&gt;&lt;P&gt;{{{ topComponent['Checked Date'] || "" }}}&lt;/P&gt;&lt;P&gt;{{{ topComponent['Design State'] || "" }}}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to change the code to following, but the result remains empty.&lt;/P&gt;&lt;P&gt;{{{ topComponent.Creation Date || "" }}}&lt;/P&gt;&lt;P&gt;{{{ topComponent.Checked Date || "" }}}&lt;/P&gt;&lt;P&gt;{{{ topComponent.Design State || "" }}}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Mar 2024 07:57:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/custom-field-for-3d-pdf-exporting/m-p/12652786#M165135</guid>
      <dc:creator>azad.akbari</dc:creator>
      <dc:date>2024-03-20T07:57:24Z</dc:date>
    </item>
    <item>
      <title>Re: custom field for 3D PDF exporting</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/custom-field-for-3d-pdf-exporting/m-p/12654030#M165176</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/13133645"&gt;@azad.akbari&lt;/a&gt;.&amp;nbsp; What coding language are you using?&amp;nbsp; What does "topComponent" represent?&amp;nbsp; Have you reviewed the &lt;A href="https://help.autodesk.com/view/INVNTOR/2024/ENU/?guid=ExportToPDF3D_Sample" target="_blank" rel="noopener"&gt;API Samble&lt;/A&gt; (which is in VBA, C#, &amp;amp; C++)?&amp;nbsp; In that example, they set the "ExportAllProperties" option to False.&amp;nbsp; Then create an Array of Strings, and fill it with String type specifications (only one in that example) with what specific iProperties to include.&amp;nbsp; Then they supply that Array of Strings as the value of the&amp;nbsp;"ExportProperties" option.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Mar 2024 16:57:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/custom-field-for-3d-pdf-exporting/m-p/12654030#M165176</guid>
      <dc:creator>WCrihfield</dc:creator>
      <dc:date>2024-03-20T16:57:32Z</dc:date>
    </item>
    <item>
      <title>Re: custom field for 3D PDF exporting</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/custom-field-for-3d-pdf-exporting/m-p/12655520#M165192</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I use the Adobe reader language. Not sure which format it is built in.&lt;/P&gt;&lt;P&gt;Do you know what I should write instead of:&lt;/P&gt;&lt;P&gt;{{{ topComponent['Creation Date'] || "" }}}&lt;/P&gt;&lt;P&gt;{{{ topComponent['Checked Date'] || "" }}}&lt;/P&gt;&lt;P&gt;{{{ topComponent['Design State'] || "" }}}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or maybe you have time for a meeting today so I can show how it looks?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Mar 2024 08:18:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/custom-field-for-3d-pdf-exporting/m-p/12655520#M165192</guid>
      <dc:creator>azad.akbari</dc:creator>
      <dc:date>2024-03-21T08:18:08Z</dc:date>
    </item>
    <item>
      <title>Re: custom field for 3D PDF exporting</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/custom-field-for-3d-pdf-exporting/m-p/12655932#M165200</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/13133645"&gt;@azad.akbari&lt;/a&gt;.&amp;nbsp; I am not familiar with &lt;SPAN&gt;the Adobe reader language, and I do not recognize the formatting used in those lines of code.&amp;nbsp; I am not a software developer, just someone who is good with CNC related coding, VBA coding, and some vb.net coding (used in iLogic rules).&amp;nbsp; Hopefully one of the others here on this forum will review this post and be able to help you better than I could.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Mar 2024 11:23:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/custom-field-for-3d-pdf-exporting/m-p/12655932#M165200</guid>
      <dc:creator>WCrihfield</dc:creator>
      <dc:date>2024-03-21T11:23:52Z</dc:date>
    </item>
    <item>
      <title>Re: custom field for 3D PDF exporting</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/custom-field-for-3d-pdf-exporting/m-p/12656088#M165206</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Okey, then I will wait for a SW developer.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Mar 2024 12:29:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/custom-field-for-3d-pdf-exporting/m-p/12656088#M165206</guid>
      <dc:creator>azad.akbari</dc:creator>
      <dc:date>2024-03-21T12:29:14Z</dc:date>
    </item>
    <item>
      <title>Re: custom field for 3D PDF exporting</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/custom-field-for-3d-pdf-exporting/m-p/12656244#M165217</link>
      <description>&lt;P&gt;I believe OP is editing 3D PDF template in Adobe.&lt;/P&gt;&lt;P&gt;It's JAVA Script, I think.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Some iProperties use different name in program.&lt;/P&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;{{{ topComponent['Creation Time'] || "" }}}
{{{ topComponent['Date Checked'] || "" }}}
{{{ topComponent['Design Status'] || "" }}}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is a drawing iProperies list created with iLogic:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;INFO|+Summary Information
INFO|-Inventor Summary Information
INFO| +Title
INFO| -Title
INFO| +Subject
INFO| -Subject
INFO| +Author
INFO| -Author
INFO| +Keywords
INFO| -Keywords
INFO| +Comments
INFO| -Comments
INFO| +Last Saved By
INFO| -Last Saved By
INFO| +Revision Number
INFO| -Revision Number
INFO| +Thumbnail
INFO| -Thumbnail
INFO|+Document Summary Information
INFO|-Inventor Document Summary Information
INFO| +Category
INFO| -Category
INFO| +Manager
INFO| -Manager
INFO| +Company
INFO| -Company
INFO|+Design Tracking Properties
INFO|-Design Tracking Properties
INFO| +Creation Date
INFO| -Creation Time
INFO| +Part Number
INFO| -Part Number
INFO| +Project
INFO| -Project
INFO| +Cost Center
INFO| -Cost Center
INFO| +Checked By
INFO| -Checked By
INFO| +Checked Date
INFO| -Date Checked
INFO| +Eng. Approved By
INFO| -Engr Approved By
INFO| +Eng. Approved Date
INFO| -Engr Date Approved
INFO| +Status
INFO| -User Status
INFO| +Material
INFO| -Material
INFO| +Part Revision
INFO| -Part Property Revision Id
INFO| +Web Link
INFO| -Catalog Web Link
INFO| +Part Icon
INFO| -Part Icon
INFO| +Description
INFO| -Description
INFO| +Vendor
INFO| -Vendor
INFO| +Part Type
INFO| -Document SubType
INFO| +Part Type name
INFO| -Document SubType Name
INFO| +Date proxy refreshed
INFO| -Proxy Refresh Date
INFO| +Mfg. Approved By
INFO| -Mfg Approved By
INFO| +Mfg. Approved Date
INFO| -Mfg Date Approved
INFO| +Estimated Cost
INFO| -Cost
INFO| +Standard
INFO| -Standard
INFO| +Design State
INFO| -Design Status
INFO| +Designer
INFO| -Designer
INFO| +Engineer
INFO| -Engineer
INFO| +Authority
INFO| -Authority
INFO| +Parameterized Template
INFO| -Parameterized Template
INFO| +Template Row
INFO| -Template Row
INFO| +External Part Revision
INFO| -External Property Revision Id
INFO| +Standard Revision
INFO| -Standard Revision
INFO| +Manufacturer
INFO| -Manufacturer
INFO| +Standards Organization
INFO| -Standards Organization
INFO| +Language
INFO| -Language
INFO| +Defer Updates
INFO| -Defer Updates
INFO| +Size Designation
INFO| -Size Designation
INFO| +Categories
INFO| -Categories
INFO| +Stock Number
INFO| -Stock Number
INFO| +Weld Material
INFO| -Weld Material
INFO| +Mass
INFO| -Mass
INFO| +Area
INFO| -SurfaceArea
INFO| +Volume
INFO| -Volume
INFO| +Density
INFO| -Density
INFO| +Valid MassProps
INFO| -Valid MassProps
INFO| +Flat Pattern Extents Width
INFO| -Flat Pattern Width
INFO| +FlatPatternExtentsLength
INFO| -Flat Pattern Length
INFO| +Flat PatternExtents Area
INFO| -Flat Pattern Area
INFO| +SheetMetalRule
INFO| -Sheet Metal Rule
INFO| +Last Update with
INFO| -Last Updated With
INFO| +Sheet Metal Width
INFO| -Sheet Metal Width
INFO| +Sheet Metal Length
INFO| -Sheet Metal Length
INFO| +Sheet Metal Area
INFO| -Sheet Metal Area
INFO| +Material Identifier
INFO| -Material Identifier
INFO| +Appearance
INFO| -Appearance
INFO| +Flat Pattern Defer Update
INFO| -Flat Pattern Defer Update
INFO|+User Defined Properties
INFO|-Inventor User Defined Properties
INFO| +Finish
INFO| -Finish
INFO| +Etch
INFO| -Etch
INFO| +Hardness
INFO| -Hardness
INFO| +Quantity
INFO| -Quantity
INFO| +Thickness
INFO| -Thickness
INFO|+Piping Style
INFO|-Piping Style
INFO| +Name
INFO| -Name
INFO| +ActiveState
INFO| -ActiveState
INFO| +PipeType
INFO| -PipeType
INFO| +RoutePreview
INFO| -RoutePreview
INFO| +Material
INFO| -Material
INFO| +Standard
INFO| -Standard
INFO| +FittingMaterial
INFO| -FittingMaterial
INFO| +FittingStandard
INFO| -FittingStandard
INFO| +RouteDirection90
INFO| -RouteDirection90
INFO| +RouteDirection45
INFO| -RouteDirection45
INFO| +DiameterType
INFO| -DiameterType
INFO| +Diameter
INFO| -Diameter
INFO| +Schedule
INFO| -Schedule
INFO| +OD
INFO| -OD
INFO| +ID
INFO| -ID
INFO| +Ending
INFO| -Ending
INFO| +IntermediateSegmentsMin
INFO| -IntermediateSegmentsMin
INFO| +IntermediateSegmentsMax
INFO| -IntermediateSegmentsMax
INFO| +IntermediateSegmentsInc
INFO| -IntermediateSegmentsInc
INFO| +TerminationSegmentsMin
INFO| -TerminationSegmentsMin
INFO| +TerminationSegmentsMax
INFO| -TerminationSegmentsMax
INFO| +TerminationSegmentsInc
INFO| -TerminationSegmentsInc
INFO| +RoundUpValue
INFO| -RoundUpValue
INFO| +DefaultBendRadius
INFO| -DefaultBendRadius
INFO| +BendRadius
INFO| -BendRadius
INFO| +SolidRoutePreviewColor
INFO| -SolidRoutePreviewColor
INFO| +PipingComponentColor
INFO| -PipingComponentColor
INFO| +PipeKey
INFO| -PipeKey
INFO| +CouplingKey
INFO| -CouplingKey
INFO| +StartFittingKey
INFO| -StartFittingKey
INFO| +EndFittingKey
INFO| -EndFittingKey
INFO| +Elbow90Key
INFO| -Elbow90Key
INFO| +Elbow45Key
INFO| -Elbow45Key
INFO| +SuppressStartFitting
INFO| -SuppressStartFitting
INFO| +SuppressEndFitting
INFO| -SuppressEndFitting
INFO| +UseSubASM
INFO| -UseSubASM&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Mar 2024 13:34:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/custom-field-for-3d-pdf-exporting/m-p/12656244#M165217</guid>
      <dc:creator>Frederick_Law</dc:creator>
      <dc:date>2024-03-21T13:34:17Z</dc:date>
    </item>
    <item>
      <title>Re: custom field for 3D PDF exporting</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/custom-field-for-3d-pdf-exporting/m-p/12656267#M165218</link>
      <description>&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For creation date and checked date - I did get the value 2023-03-28 00:00:00.&lt;/P&gt;&lt;P&gt;How do I remove the time 00:00:00?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For State, I got the Value 1, 2 or 3.&lt;BR /&gt;1 should be WorkInProgress, 2 should be Pending and 3 should be Released.&lt;/P&gt;&lt;P&gt;How to I change so that the value names should be written instead of numbers?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, I have one column for weight.&amp;nbsp;{{{ topComponent.Mass || "" }}}&lt;/P&gt;&lt;P&gt;It writes a lot of numbers after decimal. Is it possible to change it so that no decimals are written?&lt;/P&gt;</description>
      <pubDate>Thu, 21 Mar 2024 14:31:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/custom-field-for-3d-pdf-exporting/m-p/12656267#M165218</guid>
      <dc:creator>azad.akbari</dc:creator>
      <dc:date>2024-03-21T14:31:40Z</dc:date>
    </item>
    <item>
      <title>Re: custom field for 3D PDF exporting</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/custom-field-for-3d-pdf-exporting/m-p/12668575#M165466</link>
      <description>&lt;P&gt;Please open this case - the problem isnt solved yet.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Additionally I would like to allow more numbers in the assembly 3d PDF.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Mar 2024 08:46:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/custom-field-for-3d-pdf-exporting/m-p/12668575#M165466</guid>
      <dc:creator>azad.akbari</dc:creator>
      <dc:date>2024-03-27T08:46:20Z</dc:date>
    </item>
    <item>
      <title>Re: custom field for 3D PDF exporting</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/custom-field-for-3d-pdf-exporting/m-p/12669591#M165500</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/13133645"&gt;@azad.akbari&lt;/a&gt;&amp;nbsp;, can you provide more details about this requirement:&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;Additionally I would like to allow more numbers in the assembly 3d PDF.&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Mar 2024 15:15:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/custom-field-for-3d-pdf-exporting/m-p/12669591#M165500</guid>
      <dc:creator>MjDeck</dc:creator>
      <dc:date>2024-03-27T15:15:23Z</dc:date>
    </item>
    <item>
      <title>Re: custom field for 3D PDF exporting</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/custom-field-for-3d-pdf-exporting/m-p/12669637#M165502</link>
      <description>&lt;P&gt;The most important task is the first one:&lt;/P&gt;&lt;P&gt;1. When I edit the PDF template from Autodesk for 3d documents I cant get all the digits. There isnt enough room in the assembly template. I dont know if the problem is the PDF template from autodesk or if it is the Inventor.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. When having the PDF printed for 3d models for creation date and checked date - I did get the value 2023-03-28 00:00:00. I dont want the time though. How do I remove the time 00:00:00?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For State, I got the Value 1, 2 or 3.&lt;BR /&gt;1 should be WorkInProgress, 2 should be Pending and 3 should be Released.&lt;/P&gt;&lt;P&gt;How to I change so that the value names should be written instead of numbers?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, I have one column for weight.&amp;nbsp;{{{ topComponent.Mass || "" }}}&lt;/P&gt;&lt;P&gt;It writes a lot of numbers after decimal. Is it possible to change it so that no decimals are written?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did it help? If not, please tell me what part was not detailed enough.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Mar 2024 15:29:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/custom-field-for-3d-pdf-exporting/m-p/12669637#M165502</guid>
      <dc:creator>azad.akbari</dc:creator>
      <dc:date>2024-03-27T15:29:01Z</dc:date>
    </item>
    <item>
      <title>Re: custom field for 3D PDF exporting</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/custom-field-for-3d-pdf-exporting/m-p/12674634#M165643</link>
      <description>&lt;P&gt;Here's a &lt;A href="https://forums.autodesk.com/t5/inventor-forum/materials-in-3d-pdf-s-bom/td-p/10763391" target="_blank" rel="noopener"&gt;forum thread&lt;/A&gt; that might be useful. It has a link to PDF's that contain some details.&lt;BR /&gt;I'm still looking for answers to your specific questions.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Mar 2024 15:20:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/custom-field-for-3d-pdf-exporting/m-p/12674634#M165643</guid>
      <dc:creator>MjDeck</dc:creator>
      <dc:date>2024-03-29T15:20:55Z</dc:date>
    </item>
    <item>
      <title>Re: custom field for 3D PDF exporting</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/custom-field-for-3d-pdf-exporting/m-p/12679011#M165675</link>
      <description>&lt;P&gt;Here's code to remove the decimal places from the mass. It will also add a 'g' (meaning grams).&lt;/P&gt;
&lt;LI-CODE lang="general"&gt;{{{(topComponent['Mass'].toFixed() + ' g') || "" }}}&lt;/LI-CODE&gt;
&lt;P&gt;&lt;BR /&gt;The following will convert the Design Status to text:&lt;/P&gt;
&lt;LI-CODE lang="general"&gt;{{{(topComponent['Design Status'] == 2 ? 'Pending' : (topComponent['Design Status'] == 3 ? 'Released' : 'Work In Progress'))}}}&lt;/LI-CODE&gt;
&lt;P&gt;&lt;BR /&gt;The following can be used to remove the time from a date property. It does it by removing the blank (specified by \s) between the date and time, and everything after the blank.&lt;/P&gt;
&lt;LI-CODE lang="general"&gt;{{{ topComponent['Date Checked'].replace(/\s.*/g, '') }}}&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 01 Apr 2024 15:57:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/custom-field-for-3d-pdf-exporting/m-p/12679011#M165675</guid>
      <dc:creator>MjDeck</dc:creator>
      <dc:date>2024-04-01T15:57:37Z</dc:date>
    </item>
    <item>
      <title>Re: custom field for 3D PDF exporting</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/custom-field-for-3d-pdf-exporting/m-p/12686505#M165814</link>
      <description>&lt;P&gt;Thank you for the solutions.&lt;/P&gt;&lt;P&gt;The last problem I have is with the length of the partnumbers in the assembly bill of material. Please check attached picture bellow. I want the part number row to allow at 12 characters.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BR Azad&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bill_of_material.PNG" style="width: 649px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1345723iA675E1509F8EF5B0/image-size/large?v=v2&amp;amp;px=999" role="button" title="bill_of_material.PNG" alt="bill_of_material.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2024 11:08:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/custom-field-for-3d-pdf-exporting/m-p/12686505#M165814</guid>
      <dc:creator>azad.akbari</dc:creator>
      <dc:date>2024-04-04T11:08:07Z</dc:date>
    </item>
    <item>
      <title>Re: custom field for 3D PDF exporting</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/custom-field-for-3d-pdf-exporting/m-p/12688263#M165845</link>
      <description>&lt;P&gt;To change the part number width, you have to edit the JavaScript in the template file. Here are steps:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;install Notepad++ from &lt;A href="https://notepad-plus-plus.org/" target="_blank" rel="noopener"&gt;https://notepad-plus-plus.org/&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;in Adobe Acrobat, look at the All Tools list&lt;/LI&gt;
&lt;LI&gt;at the bottom of the list, click "View more"&lt;/LI&gt;
&lt;LI&gt;near the bottom, click on "Use JavaScript"&lt;/LI&gt;
&lt;LI&gt;click on "Document javascript strings"&lt;/LI&gt;
&lt;LI&gt;click on AnarkCoreScript and click Edit&lt;/LI&gt;
&lt;LI&gt;that should bring up Notepad++&lt;/LI&gt;
&lt;LI&gt;in the JavaScript, search for Part Number&lt;/LI&gt;
&lt;LI&gt;a few lines below the line with Part Number, you should see:&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="general"&gt;rowText = this.rpad(pn, 9) + "  " + this.rpad(desc, 20) + " " + this.lpad(quantity, 4);&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Change the 9 to 12 or greater.&lt;/LI&gt;
&lt;LI&gt;save the file, and close Notepad++&lt;/LI&gt;
&lt;LI&gt;close the Document JavaScripts dialog in Acrobat&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;That will fix the column width in the data, but you have to edit the table header separately. It's not in the JavaScript.&lt;BR /&gt;Use the "Prepare a form" tool and edit the Properties of the Part Number text field in the header.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;There's some more info and background in &lt;A href="https://forums.autodesk.com/t5/inventor-forum/3d-pdf-parts-list-part-number-limit/td-p/6466762" target="_blank" rel="noopener"&gt;this thread&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Apr 2024 00:42:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/custom-field-for-3d-pdf-exporting/m-p/12688263#M165845</guid>
      <dc:creator>MjDeck</dc:creator>
      <dc:date>2024-04-05T00:42:42Z</dc:date>
    </item>
    <item>
      <title>Re: custom field for 3D PDF exporting</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/custom-field-for-3d-pdf-exporting/m-p/13049362#M172292</link>
      <description>&lt;P&gt;Hi, thanks for the codes. In the code for "Mass" you gave it is in "grams", can you suggest how to convert the value into "kg" please.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2024 09:24:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/custom-field-for-3d-pdf-exporting/m-p/13049362#M172292</guid>
      <dc:creator>vijayananths</dc:creator>
      <dc:date>2024-09-27T09:24:50Z</dc:date>
    </item>
    <item>
      <title>Re: custom field for 3D PDF exporting</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/custom-field-for-3d-pdf-exporting/m-p/13049412#M172294</link>
      <description>&lt;P&gt;I tried this following, and it worked.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;{{{(topComponent['Mass'].toFixed()/1000 + ' kg') || "" }}}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2024 09:40:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/custom-field-for-3d-pdf-exporting/m-p/13049412#M172294</guid>
      <dc:creator>vijayananths</dc:creator>
      <dc:date>2024-09-27T09:40:43Z</dc:date>
    </item>
  </channel>
</rss>

