Inventor General

Reply
*Expert Elite*
karthur1
Posts: 4,049
Registered: ‎04-27-2005
Message 11 of 16 (283 Views)

Re: Drawings Stamp with Date

04-18-2012 10:27 AM in reply to: bobvdd

I tried it in both 2012 and 2013 last night and got the same error msg in both.  The error that I usually see when its a version issue is "Error reading RSe stream".... or something like that.

 

I'll try the new file when I get to a machine with 2012. Thanks

*Expert Elite*
karthur1
Posts: 4,049
Registered: ‎04-27-2005
Message 12 of 16 (265 Views)

Re: Drawings Stamp with Date

04-19-2012 04:01 PM in reply to: bobvdd

Bob,

Just tried to open both of your files using Inventor 2013.  Both of them give me the same error as I posted above...."The doc file has been corrupted".

Product Support
Posts: 523
Registered: ‎11-23-2005
Message 13 of 16 (264 Views)

Re: Drawings Stamp with Date

04-19-2012 04:05 PM in reply to: karthur1

This is really bizarre. I tried with a colleague here at work and he can perfectly open the 2013 file in 2013 without any error.

 

Bob

*Expert Elite*
karthur1
Posts: 4,049
Registered: ‎04-27-2005
Message 14 of 16 (249 Views)

Re: Drawings Stamp with Date

04-20-2012 08:27 AM in reply to: bobvdd

I deal with "bizarre" on a daily basis... lol

Distinguished Contributor
JamieVJohnson2
Posts: 160
Registered: ‎08-26-2010
Message 15 of 16 (209 Views)

Re: Drawings Stamp with Date

01-07-2013 05:09 PM in reply to: karthur1

CAD Managers,

 

I took some time to work this out for Inventor 2013.  Here are the results:

 

Create a custom property or two for your plot stamp in iProperties of the .idw.

ex:

CurrentUser (as text)

PlotDate&Time (as date)

 

Edit Border Resource and add a text where you want the 'plot stamp', be sure to constrain it to your border lines so it moves with your document sizes.

ex:

<FILENAME AND PATH>, <CurrentUser>. <PlotDate&Time>

 

<FILENAME AND PATH> exists already and can be found at

  • Type = "Properties - Drawing"
  • Property = "FILENAME AND PATH"
  • Press the Add Text Parameter button to the right.

The other two will be found under Type = "Custom Properties - Drawing"

 

Create iLogic Rule at Manage\iLogig\Add Rule

ex.

Name = "PlotStamp"

Selecting from the System functions, expand the iProperties section, then select Custom once for each property you want to set.

code:

iProperties.Value("Custom", "PlotDate&Time")= Now & " " & Time
iProperties.Value("Custom", "CurrentUser")=System.Security.Principal.WindowsIdentity.GetCurrent.Name

 Attach your rule to an event such as before save:

at Manage\iLogig\Event Triggers

Select the "Before Save Document" event, then press the Select Rules... button below, then select "Plot Stamp" rule.

 

Result:

"C\VaultWorkingFolder\TTS CAD\Inventor\Templates\04 DWG TTS.idw, Domain\jvjohnson, 1/7/2013 6:51:24 PM"

 

Save with your templates and use whenever you create a new Inventor drawing document.

 

 Perhaps someday, there be an event for 'Before Print' we can hook this into.

 

Later,

 

jvj

 

 

jvj
*Expert Elite*
karthur1
Posts: 4,049
Registered: ‎04-27-2005
Message 16 of 16 (187 Views)

Re: Drawings Stamp with Date

01-08-2013 05:25 AM in reply to: JamieVJohnson2

JamieVJohnson2 wrote:

....

 

 Perhaps someday, there be an event for 'Before Print' we can hook this into.

 

Later,

 

jvj

 

 


 

What you really have is a "Last Saved Date", not plot date.  They just happen to be the same with this code.

 

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 interested in helping shape the Autodesk Community?
We’re looking at a few different ways to improve the “All Forums” landing page and need your feedback! If interested, please take a few minutes to fill out the following Usability Study. Thank you for your time!

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