AutoCAD Inventor :: VBA Change Sheet Size

Sep 27, 2012

I am having an issue with changing sheet sizes using VBA. Due to the constraints under which my borders and title blocks were created, inventor forces me to delete the current border before changing the sheet size. I have 5 different borders and 2 title blocks.

-Borders
"A0 Border (13x8 Zone)"
"A1 Border (8x6 Zone)"
"A2 Border (6x4 Zone)"
"A3 Border (4x3 Zone)"
"A4 Border (No Zones)"

-Title Blocks
Title Block 1 - All sizes except for A4
Title Block 2 - A4 Only

I'm having trouble changing the sheet size. This is the extent of the code that I know actually works:
 
Option ExplicitPrivate oDoc As DrawingDocumentPrivate oSheet As SheetPrivate oBorderDef As BorderDefinitionPrivate oBorder As BorderSet oDoc = ThisApplication.ActiveDocumentSet oSheet = oDoc.ActiveSheetSet oBorderDef = oDoc.BorderDefinitions.Item("A0 Border (13x8 Zone)")Private Sub UserForm_Initialize() cmbPageSize.AddItem ("A0") cmbPageSize.AddItem ("A1")
[code].......

View 1 Replies


ADVERTISEMENT

AutoCAD Inventor :: ILogic - Reposition Revision Table On Sheet Size Change

Sep 24, 2012

a customer has a title block with a revision table ( standard vault revision table)  add on top of it.

If you change the sheet size the revision table remains his position.

If found the way to reposition the table with a ilogic rule.:

'point afstand in cm
PointX=(ActiveSheet.Width/10)-13
PointY=5.5
'punt vanaf rechtonder gemeten in cm

[Code]....

This is working perfectly. But now the challange how to trigger this rule to run if you change the sheet size?

if tried:

trigger=Activesheet.size

or

to create a userparameter and added this line in my rule : Size=ActiveSheet.size, normaly is you change parameters it triggers the rule to rule. but both way didn't work.

Can event triggers from the API be used?  Do i need the "Onchange" event? Any example for a ilogic rule?

View 3 Replies View Related

AutoCAD Inventor :: How To Change Drawing Sheet To New Custom Sheet Format

Sep 20, 2013

I have an older drawing with an outdated sheet format. I'm wanting to update to a new custom sheet format without having to redimension and recreate views. Is it possible to just update the sheet format?

View 1 Replies View Related

AutoCAD 2010 :: Change Block Size In Drawing Sheet?

Mar 7, 2012

I am trying to insert a block in the drawing sheet, that varies in size dynamically. Is there anyway for changing the size of the block.

View 9 Replies View Related

Revit :: How To Change Sheet Size For Zoom

Feb 21, 2012

We are trialling Revit for the first time and have made good progress in modelling a building we have already designed.
 
We have set up an A1 title sheet to match our existing one and have successfully printed at A3 by using the Center option with zoom 50%.

However when the zoom sheet size icon is selected the view zooms to an A4 Landscape view and I would rather it zoomed to the extents of the A1 frame but I haven't been able to redefine the sheet settings. Where I can find these settings?
 
I have opened all Metric Title block families from A0 to A4 and they all appear to zoom to an A4 Landscape extent. Amusingly the A4 Metric Title block is Portrait.

View 1 Replies View Related

AutoCAD Inventor :: Get DWG Sheet Size Without Opening Drawing

Aug 8, 2012

Is there a way, using VBA to get the sheet size of a drawing without opening the drawing?  I know how to get it with the drawing open, so alternatively, is there a way to open all the drawings in a folder, one at a time, then get sheet.size, then close and open the next? 

View 3 Replies View Related

AutoCAD Inventor :: Run Rule When Sheet Size Is Changed?

Dec 19, 2013

I have created a rule that will replace the border sheet when the sheet size will be changed, so users won't have to do it manually.

The problem is that the rule won't run when the sheet size is changed. I find that events for triggering the rules are rather few under drawing enviroment.

I thought to use "iProperty Change" event, providing I assign the SheetSize to a Custom iProperty, but the iProperty won't update automatically as well.

AIP 2014
Windows 7 x64
Dell Precision T7400 Intel(R) Xeon(R) CPU X5472 @ 3.00GHz (4 CPU's), 8Gb RAM, NVIDIA Quadro FX 5600 1536MB GDDR3

View 4 Replies View Related

AutoCAD Inventor :: Changing Drawing Sheet Size

Jun 14, 2012

I have 4 different sized drawing templates made, one each for A,B,C and D size. There are times when I start a drawing on a C size border/sheet and it gets too cluttered as I add views or annotations. Is there any way to insert/change the sheet size to the D sized template without starting over? 

View 6 Replies View Related

AutoCAD Inventor :: Edit Existing Sheet Size

Feb 6, 2013

I would like to edit an existing sheet. The size is "C" and the height is 17 and the width is 22. I would like to change the exiting dimensions of that sheet to be 18 and 24. How do I do this to the existing sheet instead of creating a new one named something else?

View 6 Replies View Related

AutoCAD Inventor :: Custom Sheet Size Using ILogic

Jan 15, 2013

I made a form that allows the user to enter in a custom sheet size.  Using the API I am changing the Drawing Sheet Size Enumerator to the Custom Sheet size which allows the user to enter in custom values.  That part is all working fine.  My problem is that when a custom size is used in my title block it says that the size is "Custom Size (mm)".  I know that the API uses cm for the sheet size units so I have the code convert the values into cm. 

In the sheet settings window built into inventor it has the option for Custom Size (inches) and Custom Size (mm).  How do I change whether it is inches or mm?

View 5 Replies View Related

AutoCAD Inventor :: Getting Sheet Size That Is 24x36 But Not Ansi D Of 22x34?

Mar 5, 2003

I want a sheet size that is 24x36, not ansi D of 22x34. I can create it in the Edit Sheet dialog, but then the titleblock reports "Custom Size (inches)", not "D".

View 5 Replies View Related

AutoCAD Inventor :: ILogic - Automatic Print With Right Sheet Size

Nov 6, 2012

Dont have a before print Event Triggers . I want to make a rule with automatic print with a right sheet size, but in all my try don't work

that is my last one

'Dim oDraw As Document
oDraw = ThisApplication.ActiveDocument
oDrawDoc = ThisApplication.ActiveDocument
oDrgPrintMgr = oDrawDoc.PrintManager
[code]........

View 9 Replies View Related

AutoCAD Inventor :: Selecting Sheet Size When Starting A New Drawing

Sep 11, 2013

I'm trying to set up a company drawing sheet that requires the designer to select the sheet size before starting the drawing.  Based on the drawing sheet size (A0, A1, A2, A3 & A4 all in landscape) the relevant company Title block will attach to the bottom right of the drawing border.  I've manage to create the relevant forms for parts, sheet metal and assemblies. 

View 8 Replies View Related

AutoCAD Inventor :: Sheet Metal Template With All Common Plate Size

Jan 3, 2012

Looking for 2012 sheet metal template with all the common plate sizes already in the rule?

View 6 Replies View Related

AutoCAD Inventor :: ILogic To Change Sheet Name

Oct 31, 2013

I've seen snipppets of code to get the Sheet name but is there a way to set it via code? I'm thinking it might be useful to set the sheet names to the chosen sheet format (as opposed to just 'Sheet').

I'm sprucing up my drawing template...

Rule #1 is for selecting sheet format (which title block/sheet size / orientation)
Rule #2 is for setting iproperty values to populate the titleblock with info. (if required)
Rule #1 was based on code from S.Bixler & inventortrenches
Rule#2 was based on more code taken from here.

View 2 Replies View Related

AutoCAD Inventor :: Why Does Sheet Format Change

Mar 6, 2012

See attached pic what is supposed to be a "D" size format/border is now an "E" size. I have many sheets in this idw and every D size was like this. it was not like this when i closed it a couple of days ago.

win 7 64 bit sp1
cpu intel xeon E5-2687W0@3.106
eight core
two solid state hard drives
32 gig of ram
Autodesk product design
suite premuim 2014 64bit
Nvida quadro 4000
Space Pilot ver. 1.6.2 2010

View 1 Replies View Related

AutoCAD Inventor :: Sheet Metal Flat Pattern Size - Incorrect Length

Apr 30, 2013

After having a formed sheet metal part finish the wrong size (.100" long on all sides), I discovered a glitch with the sheet metal flat patterns sizes being. 

I created two identical parts, one in IV2013 and one in IVP2014, and came up with two different flat patterns. The two parts are 100% identical. The volume is identical for both, and I did an assembly overlay to double check (everything lined up perfect). However, the flat pattern on the IV2014 part was 0.130" shy of what it should be (total length in both directions). 

I haven't been able to recreate this (happened with this part and with a different part that we had formed), but you shouldn't ever have to worry about something like this. I created the same part in 2014 for a second time from scratch and it then came out to the correct dimensions, which worries me even more that this is an intermittent problem. 

The JUNK file is the one with the incorrect length. 

Also, another IVP2014 issue I have been having is when saving a drawing as an AutoCAD drawing it saves it as a 2013 AutoCAD in a zip file instead of a 2007 as a normal file like I have it set up to. If I click "Options" when saving, then click cancel without selecting anything, it saves it correctly.

View 6 Replies View Related

AutoCAD Inventor :: How To Change Sheet Metal Radius

Jun 4, 2013

how to change the bend radius on a flange that has several different bend radii with the same metal thickness. For example, I have a sheet metal part that is 1/4" thick and has one bend radius that needs to be .030". How can I change the bend radius?

View 2 Replies View Related

AutoCAD Inventor :: Change The Sheet Metal Rule?

Oct 6, 2009

In versions prior to Inv. 2009 the sheet metal rules were contained in the template and in 2009 they are in the styles library. In the past year we have changed some of our material and I would like to be able to look for certain sheet metal rules on legacy drawing and change them to a new one. Both styles are fairly close but I want to keep things consistant going forward. This way I can purge the style if it is not in the style library. Just can't figure out the code for changing the active style.

View 3 Replies View Related

AutoCAD Inventor :: How To Change Background Colour Of Drawing Sheet

Jun 10, 2012

I have little question that, is it possible to change background colour of drawing sheet in inventor?

I have to change background colour white to black ( as in autocad) .

If it is possible pls where is setting in how to do it?.

View 3 Replies View Related

AutoCAD Inventor :: Change Color Of Sheet In Drafting Environment?

Nov 13, 2012

I would like to change the color of the sheet in the drafting environment to white.  At the moment it's a light tan or light yellow color; the default.  How do I do this?

Inventor 2013
Windows XP

View 2 Replies View Related

AutoCAD Inventor :: Change Drawing Sheet To Use Millimeters Instead Of Inches?

May 3, 2012

I have Autodesk Inventor on a student license, and I use the metric system.

I've been able to change the settings for parts, presentations and assemblies to use millimeters, but for some reason the drawing sheets still use inches.

How do I change the unit settings for drawing sheets?

View 5 Replies View Related

AutoCAD Inventor :: Can't Change A Dimension In A Sheet Metal Part

Jul 31, 2012

I need the dimension of .5 to become .25.It won't work, probably because it is the same dimension of Sheet metal Tickness.

View 3 Replies View Related

AutoCAD Inventor :: How To Change Sheet Metal Rule For Changing Material

Aug 4, 2013

 I want to change the material of a sheet metal part using inventor api.I tried something like code
 
Dim partDoc As PartDocument partDoc = inventorApp.Documents.Open(FilePath & filename, False) If partDoc.SubType = "{9C464203-9BAE-11D3-8BAD-0060B0CE6BB4}" Then Dim smDef As SheetMetalComponentDefinition smDef = partDoc.ComponentDefinition Dim style As SheetMetalStyle style = smDef.SheetMetalStyles.Item("sheetMetalRule")

 But I can't get the code for material change.

View 1 Replies View Related

AutoCAD Inventor :: Change / Apply Sheet Metal Style To All Parts In Top Level Assembly

Oct 24, 2012

I am using this  code placed in the .ipt file to change Sheet Metal material 

If Material_SM=1 TheniProperties.Material="Steel"SheetMetal.SetActiveStyle("RB_Mild Steel")ElseiProperties.Material="AISI316"SheetMetal.SetActiveStyle("RB_Stainless")End If

It works fine presuming code placed in every .ipt file to be ruled.

Is it possible to modify code in a way so when it placed in top assebly it runs through entire assembly finds all Sheet Metal parts and applys Material prpperties/Sheet metal style according Material_SM parameter.

Inventor 2013 SP2
Windows 7, 64 bits
RAM 18GB
Core TM2 Duo CPU 2,99 Gz

View 3 Replies View Related

AutoCAD Inventor :: Change Sheet Metal Parts Material / Thickness Bend Radii From Assembly

Nov 22, 2013

How do we change sheet metal parts material, thickness Bend Radii from an assembly in groups.

View 3 Replies View Related

Photoshop :: When Creating Contact Sheet Images Appear On Sheet Smaller Than Actual Measured Size

May 28, 2013

"Contact page" when images get transported on to page they reduce in size.I have also tried dragging the pictures onto the page but they still reduce in size.

View 2 Replies View Related

AutoCAD Inventor :: How To Change Dimension Size

Sep 22, 2012

I am in inventor and I need to draft up some diagrams for a lab report for school. They all have to be to scale so my dimensions will work properly, the only problem is, when I want to take a screenshot of the image to put into my document, the dimensions are way too **** small. I have tried everything to change them and nothing has worked. I don't know where my command line window is so I can't go directly to dimstyles.

View 3 Replies View Related

AutoCAD Inventor :: Change Revision Tag Size

Nov 8, 2011

I have a question about the revision tag. It's seam that we can not change the size of the balloon or Triangle. But we can use a user symbol. But we can make this choice only after placing the tag. see picture.

My question is : It is possible to make this choice in the stylelibrary ?

View 2 Replies View Related

AutoCAD Inventor :: How To Change Size Of Project

Jul 16, 2013

I created 3 parts, which I shell use in my presentation. But when I put they near, I saw that they have big changes in size. How can I correct this without making new projects?

View 8 Replies View Related

AutoCAD Inventor :: Change Default Size Of Hole

Sep 23, 2013

Somewhere in Inventor to override the default size when creating holes? I need to change the size of 3 mm to 4.2 mm.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved