Inventor General

Reply
New Member
magjal
Posts: 2
Registered: ‎06-22-2011
Message 1 of 7 (224 Views)

Set PDF metadata using iLogic

224 Views, 6 Replies
01-09-2013 01:18 AM

Hi,

I´ve found some iLogic code to print a drawing to a PDF document. After some minor modifications it works just fine, but I would like to add some code which allows med to set PDF properties (such as "title", "author", etc.) with values from iProperties. How can I do that? Is it possible? (I'm new to iLogic).

//Magnus

Regards, Magnus
Mentor
Posts: 255
Registered: ‎12-17-2007
Message 2 of 7 (97 Views)

Re: Set PDF metadata using iLogic

08-14-2013 11:18 AM in reply to: magjal

Have you ever found anyone to reply to this or a way to do it?

-------------------------------------------------------------------------------------------------

If this response answers your question please click "Accept as Solution".
*Expert Elite*
Curtis_Waguespack
Posts: 2,566
Registered: ‎03-08-2006
Message 3 of 7 (89 Views)

Re: Set PDF metadata using iLogic

08-14-2013 11:56 AM in reply to: kmiller

Hi kmiller,

 

I think will involve a bit of work from the Windows file side of things:

https://www.google.com/#bav=on.2,or.r_cp.r_qf.&fp=196e23fbed2912c1&q=vb.net+write+file+properties

 

I would search and/or ask this question on the Inventor Customization forum:
http://forums.autodesk.com/t5/Autodesk-Inventor-Customization/bd-p/120

 

I hope this helps.
Best of luck to you in all of your Inventor pursuits,
Curtis
http://inventortrenches.blogspot.com



  solution.png  Did you find this reply helpful ? If so please use the Accept as Solution or  Kudos button below.





Mentor
Posts: 255
Registered: ‎12-17-2007
Message 4 of 7 (85 Views)

Re: Set PDF metadata using iLogic

08-14-2013 12:05 PM in reply to: kmiller

Thanks - I was just going a google search and ran accross this forum first.  Guess i didn't go any further than that. 

 

-------------------------------------------------------------------------------------------------

If this response answers your question please click "Accept as Solution".
*Expert Elite*
Curtis_Waguespack
Posts: 2,566
Registered: ‎03-08-2006
Message 5 of 7 (81 Views)

Re: Set PDF metadata using iLogic

08-14-2013 12:12 PM in reply to: kmiller

Hi kmiller,

 

Ooops, I ddin't mean to suggest you hadn't worked hard enough searching (but I can see where my post does come off that way),  :smileyembarrassed:

 

I just meant that I think the solution will come from working with the Windows file hooks API , rather than the Inventor API. In either case the Customization Forum will be the place to find out.

 

I hope this helps.
Best of luck to you in all of your Inventor pursuits,
Curtis
http://inventortrenches.blogspot.com



  solution.png  Did you find this reply helpful ? If so please use the Accept as Solution or  Kudos button below.





Mentor
Posts: 255
Registered: ‎12-17-2007
Message 6 of 7 (77 Views)

Re: Set PDF metadata using iLogic

08-14-2013 12:16 PM in reply to: Curtis_Waguespack

Sounds good.  I didn't search enough so it would have been a valid assumption. :smileywink:  I am writng my code in vb.net so I think I can possibly come up with something.  We are just brainstorming some stuff here in regards of the best way to push file data from inventor into another system. 

 

I do appreciate the quick response and will check it out. 

 

Thanks.

-------------------------------------------------------------------------------------------------

If this response answers your question please click "Accept as Solution".
New Member
magjal
Posts: 2
Registered: ‎06-22-2011
Message 7 of 7 (64 Views)

Re: Set PDF metadata using iLogic

08-14-2013 11:23 PM in reply to: magjal

Hi,

 

Thank you for your reply! I will check out your suggestions.

I did search the solution to my problem in both discussion groups and google before I posted this question, but without any luck. Guess I didn't really knew how to phrase my search...

Regards, Magnus

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Welcome to the new Autodesk Community!
If this is your first visit, click here to get started and make the most of the Community. Let us know what you think of the new experience in the Community Feedback Forum.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community


Inventor Exchange Apps

Created by the community for the community, Autodesk Exchange Apps for Autodesk Inventor helps you achieve greater speed, accuracy, and automation from concept to manufacturing.

Connect with Inventor

Twitter

Facebook

Blogs

Pinterest

Youtube