3D PDF - Replace Part Names

Hello
We are creating 3D PDF files from Autodesk Publisher for our client to use for review of the assemblies. Feedback from the client has revealed that they are struggling to navigate the parts hierarchy tree in Adobe Acrobat Viewer because all the parts are displayed using the part numbers which Autodesk Publisher uses by default.
Is it possible to develop a .NET application which can access the 3D element of the PDF file, traverse the parts hierarchy and replace the item name with an alternative which could be looked up from the original Autodesk Inventor 3D model?
We are also seeing if we can use the Part Description instead of the Part Number when creating the 3D PDF file but I appreciate that that discussion is to be held elsewhere.
Thank you.
Chris

[ moved to the SDK forum as it's more of a coding question than a 3D question ]
In theory yes - while there's not a lot of high-level access through the 3D plugin made available to the SDK, you can of course read the raw data from the file structure with or without Acrobat and the SDK to help - but remember that the node data is inside the embedded U3D or PRC file, not in the PDF page structure. You'd basically be deflating the PDF stream, finding the file in the PDF COS structure as binary data, pulling it out, parsing it like a standalone model then putting it back. If you'e not touching the rest of the PDF document you'll be better off with a standalone application instead of a plugin.
The 'could be looked up' bit is the nasty part, although the IPJ project file is XML, the IAM/IPT formats that actually contain the iPart properties are closed binary data. The part numbers are of course just the filenames, but you'd  need to export a BOM  as a CSV or spreadsheet and have your custom application do a text lookup if you wanted to find the parts within an assembly.

Similar Messages

  • T400 case number and replacement part?

    I have a clients T400 that has come out of warranty. His 160GB HD died. I called Lenovo first to make sure the machine was out of warranty, the tech advise me that is way and gave me the HD FRU number and the phone number to call to get a replacement.
    My colleague called IBM and gave them the part number, they said the FRU doesn't exsist and got us the correct part number but said unless we had a case number from Lenovo the drive would be sold AS-IS. So if we bought it and for someone reason it didn't work they would not warranty or exchange the drive.
    So my colleague called Lenovo back who said "We don't give case numbers out for machines out of warranty". It seems that IBM thinks differently. Lenovo also said there some way of creating a case on their website which will send me an email with the correct replacement part number...do you think I could find what they are talking about??? NO!
    Has anyone had to deal this mayhem? It's like the left hand doesn't know what the right hand is doing....Plus it makes not sense to not properly help people who have OOW machines that are still fairly new.
    I have thought of maybe getting the one of the big bosses at IBM on the phone to fight it out with the boss at Lenovo!
    Andrew
    Xbase Technologies Corp.

    hey xbasetech,
    could you pm to me the following and i will see what i can do for you :
    Name:
    Country:
    Mobile:
    Email:
    MTM [machine type model]:
    (To locate MTM - http://support.lenovo.com/en_US/FindProductNumber.page#find)
    S/N:
    Date of Purchase:
    Case/Order Number : (if any)
    Screenshot of Error(if applicable) : (upload it to a hosting site and paste the link here)
    Location of unit : Home / Repair Center (delete where appropriate)
    Description of issue :
    WW Social Media
    Important Note: If you need help, post your question in the forum, and include your system type, model number and OS. Do not post your serial number.
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"!
    Follow @LenovoForums on Twitter!
    Have you checked out the Community Knowledgebase yet?!
    How to send a private message? --> Check out this article.

  • Export single-page pdfs with page name

    I've been looking for a script that:
    - exports every page of an indesign file to a seperate single-page pdf (or other filetypes)
    - names the pdf with the name of a page -> this is the hard part to find
    The reason i could use it: i have a 200+ page file with productspecs. I would like to export every page with the correct productname. (extracting pdfs in acrobat is not a problem, but then i have to manually rename every file)
    I'm not sure how to name the pages, as it's not a function in indesign. Ideal would be to be able to "tell" indesign: this textframe = the pagename, so it wouldn't be necessary to label the page seperately.
    I'm not a scripter. I searched the forum and found some info on this already, but not a working script including automatic pagenaming.
    I did found an old post where someone points to such a script, but i can't find it:
    http://www.techplex.net/postsm40018_possible-to-name-pages.html#post40018
    Did anyone ever made/found/used such a script?
    (btw, a similar script for illustrator artboards would be very useful too!)
    Any help appreciated!

    scott zanelli made one years ago. does a fantastic job.
    http://indesignsecrets.com/page-exporter-utility-peu-5-script-updated-for-cs3.php
    Loic Aigon has written one...
    http://www.loicaigon.com/blog/?p=876
    as for illustrator artboards... don't know - have a look on the illustrator scripting forum.

  • A Script to Find and Replace Layer Names

    Are there any scripts to find and replace layer names?
    There is an excellent script available for Photoshop which allows you to not only replace words in layer names, but also insert words as Prefixes, Suffixes and Sequential Numbers.
    The illustrator version of this script only allows sequential numbering: It doesn't offer find and replacing of words.
    Ideally, it would be great if there was something that could do multiple find and replaces in one go:
    (e.g.
    You have layers like this Car, Dog, Bat
    You enter: car(Option1), dog(Option2), Bat(Option3)
    Your layers then become: Option1, Option2, Option3).

    big_smile, that's a very good start! Step 1 of Learning How To Script is indeed, adjusting an existing simple script to make it do more complicated things. (And usually then "break something", which is also a required part of the process.)
    You are correct in your observation this is repetitive stuff. For one or two different items that wouldn't be a problem, but in longer lists you soon get lost.
    The usual way of working with find-change lists is to build an array:
    var layernames = [
    [ 'FHairBowlBoy *Hair', 'Hairboy1' ],
    [ 'FHairCurlyafroBoy *Hair', 'Hairboy2' ],
    [ 'FHairSpikyBoy *Hair', 'Hairboy3' ],
    The general idea is to loop over all names, check if the current layer name is "layernames[i][0]" (the left column) and if so, rename it to "layernames[i][1]" (the right column). If you know how to write a loop in Javascript, then you can implement this right away.
    However ..
    A more advanced way to do this doesn't even need loop to over all layernames -- instead you can immediately "get" the correct name per layer! It's magic! Almost!
    The trick is to use a Javascript object instead of an array. Javascript objects are nothing special; Illustrator's 'layers' is an array of objects, and each object "layer" has a property "name", whose value you can read and set. What I do here is create a new object, where the "name" part is the original layer name and its value is the new layer name. All you need to check for per each layer is if there is a property 'object.originalLayerName', and if so, assign its value to that layer name.
    This looks a bit like the array above, except that (1) you use {..} instead of [..] to create an object, and (2) you add "name:value" pairs instead of "value" only (actually, the 'name' of a value in an array is simply its number).
    So this is what it looks like:
    // JavaScript Document
    var doc = app.activeDocument;
    // name indexed object
    var layernames = {
    'FHairBowlBoy *Hair':'Hairboy1',
    'FHairCurlyafroBoy *Hair':'Hairboy2',
    'FHairSpikyBoy *Hair':'Hairboy3'
    // loop through all layers
    for (var i = 0; i < doc.layers.length; i++)
    //Set up Variable to access layer name
    var currentLayer = app.activeDocument.layers[i];
    if (layernames[currentLayer.name])
      currentLayer.name = layernames[currentLayer.name];
    Enjoy!

  • Best Adobe product for editing PDF, replacing English text with Thai without altering/recompressing images, graphics etc.?

    I have an English language PDF, a medical device brochure, the content of which has already been translated into Thai (in Word). I want to replace the original English in the PDF with the Thai translation easily without altering any other aspect of the brochure, like graphics, images, margins etc. (No doubt I'll have to tweak line height, font sizes and paragraph lengths a little.) I'm unsure of what would be the best Adobe product for this purpose, e.g. Illustrator, InDesign or Acrobat (or something else), that would allow me simply to open the PDF, replace the English with Thai in an attractive Thai font (to be embedded), make minor layout tweaks, then save without any compression so the quality and colours of the original photos, artwork, and graphical elements are preserved. I've heard Office 2013 allows direct editing of a PDF but I'm not sure if it converts, alters or compresses PDF graphics in some way when first opening the file. Could anyone with relevant experience please advise? Thanks in advance.

    Adobe's only offering here is Adobe Acrobat. However, I must say something. I have heard from many people who sought to translate a PDF in this way. NONE SUCCEEDED. PDF is not suitable for this purpose. Obtain the original, this should be part of your contract for translation. If this is impossible, expect to remake the document; Word is probably unsuitable for a brochure of this type, maybe InDesign.

  • HP pavilion Dv6 Fan Problem - Want to know replacement part number

    Hi,
    I purchased HP Pavilion dv6t QE in Dec 2011. Just after the warranty expired in Dec 2012 its fan stopped working. Whenever I am starting laptop I am getting error that laptop fan is not working correctly. I am ready to get the fan/heat sink changed but I am not able to find the replacement part on HP website. Please let me know the HP Fan & Heat Sink replacement number for below model:
    Serial : 2CE14903X3
    Product: QJ912AV
    Model - dv6t-6b00
    This question was solved.
    View Solution.

    Hi:
    Below is the link to the service manual for your notebook.
    http://h10032.www1.hp.com/ctg/Manual/c03015537.pdf
    The available fan/heatsink combos with HP part numbers can be found in chapter 3, on page 27.
    In order to get the right one you need to know what hardware is installed in your PC.
    Since it is a CTO (configured to order), there are no product specs available.
    So it is incumbent upon you to know for example if your notebook has an Intel processor and a graphics
    subsystem with 2048-MB discrete memory.
    Once you determine the right part number you need, you can order it online at the link below.
    http://h20141.www2.hp.com/Hpparts/Default.aspx?mscssid=2DE434CEF5B743168A44405770DB2EA5
    If you want a second opinion on if you are choosing the right part, I will be happy to help once you describe the specs for your PC.

  • Problems with replace file name with starting and ending Bates number

    When applying Bates numbers to a set of Acrobat pdf files I am unable to replace file names with the starting and ending Bates number. This is important
    for me in a legal application.
    The Bates numbers are applied to each page of each of file without any problem as required.
    The Bates log file indicates that the files have been renamed as I wanted.
    I am running Adobe Acrobat Professional 9 with the update to 9.1.9 and Windows XP Service Pack 3 (the last or current service pack)
    In all other respects Adobe Acrobat 9 is running to my satisfaction.
    Has anyone else had this problem and found a solution?
    HRKExon

    Thanks for asking the question, I hadn't heard of Bates numbers before and this gave me a chance to look up something new.
    When I googled for ' bates number legal index ' I found this document:
    http://www.adobe.com/devnet/acrobat/pdfs/batesnumbering9.pdf
    Maybe that will help.
    Scott Bonacker CPA
    Springfield, MO

  • Replace layer names in selected layers only

    I am using this script to find and replace words in layers. (The script only targets particualr words, rather than the whole layer name).
    I would like to make it so it targets selected layers only.
    I have found this script which loops through selected layers only, but I am not sure how to add the find and replace layer name functioality.
    Thanks for any help that can be offered.

    big_smile wrote:
    Looking through the guide, it doesn't seem "hasSelectedArtwork", is a built in function either. Are there any tutorials or guides that explain how to target selected layers?
    Wrong reference manual, see this one:
    http://www.adobe.com/content/dam/Adobe/en/devnet/pdf/illustrator/scripting/cs6/Illustrator -Scripting-Reference-JavaScript.pdf
    Page 91 -- CHAPTER 1: JavaScript Object Reference
    Layer
    Property
    hasSelectedArtwork
    Value type
    boolean
    What it is
    If true, an object in this layer has been selected; set to false to deselect all objects in the layer.
    So as I talked about here:
    W_J_T wrote:
    Correct. Yeah there is no direct way unfortunately (like many things via scripting), thats why I suggested using "hasSelectedArtwork", that would work if you select the layer target when selecting your desired layers to rename.
    and...
    W_J_T wrote:
    if(layerReferenceString.hasSelectedArtwork == true){
         // relative code
    That would offer a way to know if a layer is selected or not.
    As far as I know that is the only round about way of knowing if a layer is selected via scripting.

  • Broken LCD, replacement part# needed

    i broke the screen on  my Compaq Presario CQ60 215DX.
    it is a " 15.6" HD BrightView LED Display 1366 x 768 "
    what's the replacement part# for this screen please?
    thanks!
    This question was solved.
    View Solution.

    Hi,
    You may need more than just the screen. Please use the following manual to find out the right part(s) for your machine:
      http://h10032.www1.hp.com/ctg/Manual/c02985882.pdf
    Good luck.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • Replace Part of DisplayName Using PowerShell

    Hello,
    I am trying to replace part of a display name using powershell. For example, our display names look like this:
    "Lname, Fname/Department"
    I'm trying to replace only the department, basically what is after the /, from "Information Systems" to "IT"
    Here's what I have but it is failing:
    Get-ADUser "ex10testertesters" | % { Set-AdUser $_ -DisplayName ($_.Displayname -replace 'Information Systems$','IT') }
    Error I am getting is below:
    Set-ADUser : replace
    At line:1 char:48
    + Get-ADUser "test" | % { Set-AdUser <<<<  $_ -DisplayName ($_.Dis
    playname -replace '/Information Systems','IT') }
        + CategoryInfo          : InvalidOperation: (CN=ex10tester...DC=company,DC
       =com:ADUser) [Set-ADUser], ADInvalidOperationException
        + FullyQualifiedErrorId : replace,Microsoft.ActiveDirectory.Management.Com
       mands.SetADUser
    Can anyone assist in what the issue is? Thank you!

    DisplayName is not a default attribute returned by Get-ADUser; you'll need to specify it.
    Get-ADUser "ex10testertesters" -Properties 'DisplayName' | % {
    $newDisplayName = $_.Displayname -replace 'Information Systems$','IT'
    Set-AdUser $_ -DisplayName:$newDisplayName

  • Embed pdf as part of jsf page

    hi,
    i want to embed a pdf as part of a jsf page.
    any suggestions how to do this?

    You can use the HTML <iframe> or <object> elements for this.

  • Need part number part name for Mac Mini 1.42.

    On the back of the housing that holds the hard drive and the superdrive there is a brownish flexible plastic strip that is the length of the back of the mini. Well when I was doing an upgrade of the superdrive I bent this plastic piece out of shape and it would not stay so I am running with out it. I assume, seeing the fan in on the other side of this plastic strip that it keeps the air circulating with in the system and slips out the sides of the housing. The reason I say that is before I did the upgrade the heat from the back of the unit was not all that hot now with out the plastic strip it blows extremely warm.
    So anyone know the part name or number so I can look it up and see how much it is.
    Leon
    Mac Mini 1.42 8X DVD+-RW Dual Layer 24X CD-RW 250 Gig Firewire startup drive   Mac OS X (10.4.5)   Apple Bluetooth keyboard 19" Samsung 960BF DVI LCD 1 Gig Memory iSight

    Sargenle...
    "Well if there were no serviceable parts then otherworld computing would not be selling hard drive and superdrive upgrades which is what I did along with a 1 gig memory upgrade."
    That should actually state... "no end user serviceable parts".
    Either way, just because XYZ Company sells parts, doesn't give anyone any special authority.
    Just because the Acme Bungee Cord Company is willing to sell you a bungee cord, it doesn't give you any special right to strap yourself to the nearest bridge and go for a jump. (Splattered brains on rock formations are not included as bungee cord users are expected to use their head)
    ...Ron

  • Replacement part number for (MCS7828I4-K9-BE7)

    hi everyone,
    i want to configure the mcs server (MCS7828I4-K9-BE7) on the dynamic configuration tool but it's showing me error. i guess this should be end of life/end of sales.
    what is the replacement part number for this please(MCS7828I4-K9-BE7)..thankssamson

    Hi Samson,
    This has been announced as EoL as you nicely noted, but it should be available
    via Cisco until October 6
    End-of-Life Announcement Date
    The date the document that announces the end of sale and end of life of a product is distributed to the general public. April 7, 2010
    End-of-Sale Date
    The last date to order the product through Cisco point-of-sale mechanisms. The product is no longer for sale after this date.    October 6, 2010
    Replacement;
    MCS7828I4-K9-BE7
    Unified CM BE 7.X, 7828-I4 appliance, 50 seats
    MCS7828I4-K9-BE8
    Unified CM BE 8.X, 7828-I4 appliance, 50 seats
    End-of-Sale and End-of-Life Announcement for the Cisco Unified Communications Manager Business Edition 7.1
    http://www.cisco.com/en/US/prod/collateral/voicesw/ps6788/vcallcon/ps556/end_of_life_notice_c51-597146.html
    Cheers!
    Rob

  • Where can i get a replacement part of  the wireless keyboard A1314

    I wonder if I  can  get some replacement part (capss lock keys) of the wireless keyboard at any apple store??

    Call the Apple store and find out.
    Barry

  • Where can i buy original iPhone 5 replacement parts?

    Where can i buy original iPhone 5 replacement parts, like: iphone 5 back housing (black&slate)

    Can i order them online? Because there are many sites that sell :
    OEM Apple iPhone 5 Rear Housing ,Black, With Words
    My Rear Housing is damaged and here in Albania we don't have Apple Authorized Service Providers. Do you know for example how much does a Rear Housing cost?
    Thank you

Maybe you are looking for