Inventor General Discussion

Inventor General Discussion

Reply
Valued Contributor
jyothissurendran
Posts: 98
Registered: ‎08-27-2012
Message 1 of 20 (627 Views)
Accepted Solution

Plot Date Expression ?

627 Views, 19 Replies
10-22-2012 02:06 AM

Hi,

i have created Template as per my compnay standards and would like save its as my company standard template (*.idw) file. Everything is done but i need add PLOT DATE on the template file. In autocad its possible by adding fields in text.So i followed the same procedure to add PLOT DATE in inventer template. But i dont find any option for adding PLOT DATE. There is any option available to add field expression or something to get the output plot date ????

 

Plot.png

Jyothis Surendran
Inventor Professional Suite 2010
Windows 7

Jyothis,

I have a macro that adds a custom property named "SysDate" and "SysTime".  The code is attached.  Here is how to get this to work:

 

1. Open your idw template.  Go to Tools>VBA Editor.

2. Under the Autodesk Inventor Node is a "This Document" module, right click on this and choose "View Code".

3. Now copy/paste the code in the attached txt to this node.

 

Now when you save the idw, you should have a "SysDate" and "SysTime" variable under the custom iproperties that you can use in your expression.

 

It should look something like this when you are done.

 

Kirk

 

2012-10-24_0723.png

 

 

 

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

Re: Plot Date Expression ?

10-22-2012 03:13 PM in reply to: jyothissurendran

Not sure there is an Inventor property for this. Swift Printes (http://cadtoolbox.com/swift-prints/) can do this (and is a very nice printer config tool).

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: 98
Registered: ‎08-27-2012
Message 3 of 20 (576 Views)

Re: Plot Date Expression ?

10-22-2012 09:56 PM in reply to: BLHDrafting

Thanks,

 

But i was actually searching for something like in autocad, field expressions.

 

If somebody have any idea please do advise...

Jyothis Surendran
Inventor Professional Suite 2010
Windows 7
*Expert Elite*
karthur1
Posts: 4,212
Registered: ‎04-27-2005
Message 4 of 20 (563 Views)

Re: Plot Date Expression ?

10-23-2012 05:57 AM in reply to: jyothissurendran

Jyothis,

You will not find an expression for this (wish there was though). What we have been using for several years is a "Last Saved on...." stamp. It looks like this on the idw.

 

2012-10-23_0755.png

 

 

If that would work for you, post back and I will explain how to set this up.

Distinguished Contributor
nmunro
Posts: 146
Registered: ‎10-20-2001
Message 5 of 20 (550 Views)

Re: Plot Date Expression ?

10-23-2012 09:12 AM in reply to: karthur1

An option that does give you the exact plot time, plus more.

 

http://www.c3mcad.com/ProductPages/Drawing/ProductPlotStampPlus.aspx

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

Re: Plot Date Expression ?

10-23-2012 09:26 AM in reply to: nmunro

C-Cubed has done a great job at filling this void that AD left open. I just really wish that AD would include this with Inventor. (Yes, I have requested this on the AD contact page)

 

The OP was probably thinking that he could add this easily to the idw like in Acad.

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

Re: Plot Date Expression ?

10-23-2012 07:03 PM in reply to: karthur1

The only real problem I have with any of the add-in type options is when used in a Vault environment. generally plotting the IDW requires a change to a custom iProperty which then makes the IDW file dirtied. This is why I have stopped using this part of the Swift Prints add-in.

 

I agree that Autodesk just need to bite the bullet and make this a useable function out of the box.

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 Mentor
BLHDrafting
Posts: 350
Registered: ‎10-12-2012
Message 8 of 20 (524 Views)

Re: Plot Date Expression ?

10-23-2012 07:10 PM in reply to: nmunro

I haven't seen this one before. The website boldly says "All Plot Stamp Plus actions are completed without dirtying the Autodesk Inventor document" and is this is the case then I might just buy it!

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: 98
Registered: ‎08-27-2012
Message 9 of 20 (505 Views)

Re: Plot Date Expression ?

10-24-2012 02:23 AM in reply to: karthur1

Thanks for the reply. But i dont find any option like "last saved on", i am using INV 2010.

 

 

Jyothis Surendran
Inventor Professional Suite 2010
Windows 7
*Expert Elite*
karthur1
Posts: 4,212
Registered: ‎04-27-2005
Message 10 of 20 (495 Views)

Re: Plot Date Expression ?

10-24-2012 05:25 AM in reply to: jyothissurendran

Jyothis,

I have a macro that adds a custom property named "SysDate" and "SysTime".  The code is attached.  Here is how to get this to work:

 

1. Open your idw template.  Go to Tools>VBA Editor.

2. Under the Autodesk Inventor Node is a "This Document" module, right click on this and choose "View Code".

3. Now copy/paste the code in the attached txt to this node.

 

Now when you save the idw, you should have a "SysDate" and "SysTime" variable under the custom iproperties that you can use in your expression.

 

It should look something like this when you are done.

 

Kirk

 

2012-10-24_0723.png

 

 

 

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 or visit the Installation and Licensing Forum to get help installing your software.