Inventor General Discussion

Reply
Valued Contributor
jyothissurendran
Posts: 88
Registered: ‎08-27-2012
Message 11 of 20 (337 Views)

Re: Plot Date Expression ?

10-24-2012 05:37 AM in reply to: karthur1

Thanks man, it works well. Thank you very much for your time.

Jyothis Surendran
Inventor Professional Suite 2010
Windows 7
Valued Contributor
machiel.veldkamp
Posts: 59
Registered: ‎11-08-2011
Message 12 of 20 (331 Views)

Re: Plot Date Expression ?

10-24-2012 06:04 AM in reply to: jyothissurendran

I always use quick fixes for this kind of stuff. 

 

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

___________________________
Inventor 2012 lastest service pack
RAM: 24GB DDR3 / CPU: Intel Xeon W3690 @3.47Ghz
Video: NVidia GeForce 680/ HDD: 15.7K
Windows 7 Pro 64-bit
*Expert Elite*
karthur1
Posts: 4,165
Registered: ‎04-27-2005
Message 13 of 20 (318 Views)

Re: Plot Date Expression ?

10-24-2012 07:00 AM in reply to: machiel.veldkamp

Machiel,

That is an interesting way of doing that. So each time you print the idw, you have to go into the iproperties and check the date box.... right?  Just trying to figure out how you get this to update.

 

What I am doing does it automatically when the idw is saved.

Valued Contributor
machiel.veldkamp
Posts: 59
Registered: ‎11-08-2011
Message 14 of 20 (316 Views)

Re: Plot Date Expression ?

10-24-2012 07:06 AM in reply to: jyothissurendran

Yes indeed. 
That is exactly how I do it. 

I use the iProperties a lot this way. Semi-Automated text, is how we call it here. It's is very handy when you want to update a lot of sheets at the same time, and in the meantime still want to have that control.

 

 

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

___________________________
Inventor 2012 lastest service pack
RAM: 24GB DDR3 / CPU: Intel Xeon W3690 @3.47Ghz
Video: NVidia GeForce 680/ HDD: 15.7K
Windows 7 Pro 64-bit
*Expert Elite*
karthur1
Posts: 4,165
Registered: ‎04-27-2005
Message 15 of 20 (310 Views)

Re: Plot Date Expression ?

10-24-2012 07:21 AM in reply to: machiel.veldkamp

Seems liike a bunch of work... but if it works for you, go for it.

 

BTW, Here is another way to add the plot stamp using iLogic.

 

All of these methods stores variables in the iproperties of the idw when the file is saved.  Problem with that is if you are using Vault, the file has to be checked out, then saved, then printed. Otherwise, the date/time will not be updated.  that is why we use the terms "Last Saved on..." instead of "Printed On...".  To bad they do not have a "Before Print" event Trigger in iLogic.

 

Anyone familar with ACAD's plotstamp tool knows that is not the case with it. Really wish AD would add this functionality into Inventor.

 

Kirk

Windows 7 x64 -12 GB Ram
Intel i7-930 @ 3.60ghz
nVidia GTS 250 -1GB (Driver 301.42)
INV Pro R2013, SP1.1
Vault 2013

Valued Mentor
BLHDrafting
Posts: 350
Registered: ‎10-12-2012
Message 16 of 20 (293 Views)

Re: Plot Date Expression ?

10-24-2012 02:53 PM in reply to: karthur1

Hear hear Kirk. It's just bloody annoying for something this simple to not already be in Inventor. We should all add this as a Wsih List request. The squeaky wheel gets the grease (or replaced :smileywink:)

 

Glad you clarified the macro interaction with Vaulted IDW's. It's fine the first time the IDW is created and printed, but future opening of the IDW and printing it would dirty the file, forcing check out /in which can have implications.

Brendan Henderson

Web www.blh.com.au
Twitter @BLHDrafting

Windows 7 x64 -64 GB Ram, Intel Xeon E5-1620 @ 3.6 GHz
ATI FirePro V7800 2 GB, 180 GB SSD & 1 TB HDD, Inv R2013 PDS Premium SP2 Update 3 (Build 200), Vault 2013 Workgroup Update 2 (Build 17.2.9.0)
Valued Contributor
jyothissurendran
Posts: 88
Registered: ‎08-27-2012
Message 17 of 20 (269 Views)

Re: Plot Date Expression ?

10-27-2012 09:59 PM in reply to: BLHDrafting

Thanks Members,Thanks for all your  valueable suggessions.

Jyothis Surendran
Inventor Professional Suite 2010
Windows 7
Member
tstabile
Posts: 4
Registered: ‎04-27-2012
Message 18 of 20 (190 Views)

Re: Plot Date Expression ?

06-27-2013 08:27 AM in reply to: karthur1

karthur1,

 

I've used your macro since I found it and it worked great on 2013 but for some reason it has stopped working on 2014. Do you know if there are any changes to the VBA that I can make it work again? Or what can I do.

 

Thanks in advance,

 

Tony

*Expert Elite*
karthur1
Posts: 4,165
Registered: ‎04-27-2005
Message 19 of 20 (164 Views)

Re: Plot Date Expression ?

06-28-2013 01:08 PM in reply to: tstabile

I had not noticed that it doesnt work... but you are correct.  It doesnt work here with 2014 either.  In 2014, I can run the macro from the VBA editor or from the Tools>Macros button and it will update the parameters. So, the macro is working.

 

Problem is that it does not run the macro when the file is saved.  Havent figured out why just yet, but this MUST be resolved before I can roll out 2014 here.

 

Thanks

 

BTW, Look at this on the IdeaStation.  Its under review... so hopefully it will make the grade. Kudos if you want it.

*Expert Elite*
karthur1
Posts: 4,165
Registered: ‎04-27-2005
Message 20 of 20 (125 Views)

Re: Plot Date Expression ?

07-30-2013 08:19 AM in reply to: karthur1

Figured out the problem.  Inventor 2014 does not support the "Auto-run" functions in macros.  To resolve this, the macro has to be "converted" to an add-in.  Attached is an add-in that will add the "SysDate" and "SysTime" varialbles to the custom properties in an idw. Wayne Brill wrote this add-in and made a blog about this.   You can read the blog here.

 

In order to get this add-in to work:

 

Put the AddIn_With_Document_Saved_Event.addin in this directory:

C:\ProgramData\Autodesk\Inventor 201x\Addins

 

And put the AddIn_With_Document_Saved_Event.dll in this directory:

C:\Program Files\Autodesk\Inventor 201x\Bin 

 

When you save the idw, it writes these variables.

 

Hope this helps,

Kirk

 

 

 

 

 

 

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
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

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