About the authors

« Propagate item number override from subassemblies to parent assembly | Main | Export Inventor part file as OBJ file »



Feed You can follow this conversation by subscribing to the comment feed for this post.

Is there a way to use this script to automatically update a template file for each page that is added to a drawing? this would be helpful if the scale on each page is not the same and would update to the current scale of each base view per page automatically. is this possible?

As you know, you cannot insert one property in one title block and having this property to display a different value depending on the sheet where you are using the title block.

So, if, in your drawings you normally use, let’s say, three sheets, you need to apply the above procedure for each of them, creating one different title block for each sheet, where, the one of the first sheet will contain the property Scale1, the one of the second sheet will contain the property Scale2 and so on.

Then, you can create your template in this way.

Of course, if you start a new drawing using this template and you need to add a fourth sheet, you need to create a new title block where you need to insert the property Scale4.
So, probably, the solution is to create one time for all one template that contains a number of sheets that is bigger than the number of sheets you use normally in your drawings.

I hope my comment is clear and answer to your question.


Great post! It's give enough knowledge regarding this tool. It's very useful to me.

I have some computers in the company that since this rule sometimes they give the following error:
iLogic Rule Error in rule: Scale1, in document: _107824000-TEST6.idw
Object reference not set to an instance of an object.

System.NullReferenceException: Object reference not set to an instance of an object.
at LmiRuleScript.Main()
at Autodesk.iLogic.Exec.AppDomExec.ExecRuleInAssembly(Assembly assem)
at e.a(String A_0)

Please help,
Dan Margulius

Is there a way for you to have just one title block for multiple sheets that reads the base view scale on a sheet by sheet process? Our drawings usually have 30 plus sheets and we are constantly deleting sheets and adding new ones. Is there a macro that can help with this?

Does anyone have a way to set-up a plot stamp on an .idw? ... I need this for internal print and review reasons.

Please, have a look at the post below.




Thanks for sharing this one. I like your way to suggest this. I deeply understood this blog which is help me a lot.

Error in rule: Rule0, in document: Part17

Unable to cast COM object of type 'Inventor._DocumentClass' to interface type 'Inventor.DrawingDocument'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{29F0D467-C114-11D2-B77F-0060B0F159EF}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).
I am getting this error message what i should do.

Can you send your drawing and the iLogic rule you are trying to use to bob.van.der.donck@autodesk.com? Thanks.

The comments to this entry are closed.

RSS Feed

  • Subscribe

August 2017

Sun Mon Tue Wed Thu Fri Sat
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    

Self-Service Kiosk

Did not find what you were looking for?
Give the Inventor Self-Service Kiosk a try and hit the Start button
Note: the kiosk momentarily only works with Internet Explorer