AutoCAD Inventor :: Label Of Drawing View Move Randomly
Nov 21, 2013
I have often problem with drawing view labels. When model is changed and I switch to the drawing then the label is moved to an random position. There is possible to little move with view, or edit label text or switch off/on label and label move back to correct position. This is very unpleasant when there s more views in drawing, is necessary to correct each label.
Each time when I place a part in base view, have to follow few steps; go through view label, format Text, than choose type option - [Properties-Model] and its property - [Part Number], than placing dimensions. it takes long time and very repetitive, especially, when placing a hundreds of parts and I was wondering if there is an option, to set up view label; [Properties - Model ]& [Part number], as a DEFAULT. So, each time placing a part, in base view it will come up with correct label. Also, overall dimensions, can it be retrieve using parameters of the part?
We put several parts on a single drawing sheet and ,to include the part number in the drawing view label, we must edit each view label and change the type to Properties_Model and the Property to Part Number. Is there a way to set the default of a drawing view label to include the Part Number? I tried modifying the styles to include <PART NUMBER> but it the text "<PART NUMBER>" came in instead of the value. To get the value, I had to edit the view label and hit the X with a down arrow to get the part number to show up, which is not much different than having to edit the label and change type and property. I'm looking to avoid all the view label editing as much as possible.
Is it possible to change the text height of a drawing view label through VBA?
I have tried to change it by creating a new text style manually with the text height I require and then through VBA set the view label to use that style.
The View label takes on the new style but does not change the text height.
I have tried to use 'StyleOverride FontSize=' but I have text that is multi lined and using this command converts all my text onto one line.
Is it possible to change the text height of a drawing view label through VBA?
Below is my code so far,
Sub HoleDetailSheetLabels() ' Declare the Application object Dim oApp As Inventor.Application ' Obtain the Inventor Application object. ' This assumes Inventor is already running. 'Set oApp = GetObject(, "Inventor.Application")
Is there a way that we can set the view label in the style library to show custom/user Properties?
We have set our iam/ipt templates to have some custom properties which we wish to display in the view label when the view is created however there this no way to add these properties to the label.
I find this a little strange as you can add these user Properties to the parts list in the style library? (I've added some screen caps to show what I am talking about)
I found that I can right click a dimension in a drawing and select "Move Dimension" which then prompts me to select an alternative view in which I want the dimension placed. Is it possible to control-click multiple dimensions once to do this all in one fell swoop (e.g. I decided my view is too busy and want to move dimensions to a newly created detail view of that area)?
Every time i made dwg's i have to create all ort. views but i also need place label for each view. Is it possible with rule to pick view and then choose from list which view label it is. For ex. plan,side lt, side rt isometric etc..
I want to change the appearance of the view label to look like attached snap shot. Is this possible? I have looked through the inventor settings but cant find any options.
As a possible solution I can always create intelligent symbols which update with the drawing (like the standard view labels) but before I begin creating these I wanted to check if there was any other way?
I found some code to add labels such as "Top View" "Left" view etc. to view labels, but it's not quite what I'm looking for. I'm OK with the default "View 1" and "Scale 1/4" that comes up on the multiview but I want the view label to say something like "Flat Pattern" and "Scale 1/4" when I do a flat pattern and same for ISO. How to accomplish that with iLogic?
I'm noticing that on some of my drawings that the view labels are not aligning correctly to the respective views. I have view labels set by the drawing styles to appear at the bottom center of the view by default.
The problem occurs when I go to move the view to a different area on the drawing. The view label ends up on an obscure part for the drawing. When I realign them manually, save, close and reload the drawing, the view labels still appear on obscure parts of the drawing and need to be realigned again. Only some views are doing this and I'm not sure what is causing this. It happens with (but not limited to) base, detail and section views.
FYI, I'm using Inventor Pro 2012 SP1 build 190 64-bit. I'm working from Inventor DWG (not IDW) files.
I'd like to customize the way our section marker terminators look. More like an architactual style drawing.
I'd also like to add the sheet number that the section is cut from to the section view label.
As far as I can tell, this propertie is not available for insertion in the view lable. Is there a way to make it available?
The need for these changes come from larger drawing sets were the section is cut on one sheet and shown on another. We'd like to link the sheet numbers in both the section marker terminator and view label.
After upgrading to Inventor 2014 we notice that the graphics do not work properly, and that the overall performance in drawings and modelling bad compared to 2013. Then we installed SP1 and now drawing views are disappearing, however when we select "shaded" view the view reappears and works perfectly..
I am trying to rewrite Curtis Waguespack's ilogic code to modify drawing view labels from this post http: [URL]...
The completed label should appear like this
<Description> - Mk <Part Number> Est Unit Mass = X kg (Scale 1:1)
At this point I have 2 problems
1. I want to add the physical mass to the second line and would prefer to use the calculated physcial property rather than the a custom iproperty. If editing the view label, it would the property access under physcial properties.
2. I want to rewrite the code so it is selective or per view - in otherwords, I only want it to modify a single view I select once the code is run. At this point I know I need to remove the For loop but I dont have a clue as to how to make it selective.
'start of ilogic codeDim oDoc As DrawingDocument: oDoc = ThisDoc.DocumentoModel = ThisDoc.ModelDocumentDim oSheets As SheetsDim oSheet As SheetDim oViews As DrawingViewsDim oView As DrawingViewoSheets = oDoc.SheetsFor Each oSheet In oSheetsoViews = oSheet.DrawingViews For Each oView In oViews oView.ShowLabel = True
I am trying to get the correct total mass of a particular assy variant in a view label. I am trying to avoid using I-Assemblies due to the length of time it takes to set up and inevitable fudging of parts lists with phantom parts when things go awry. Anyway, to get around that clumbsiness, I use a combination of suppresed parts, assembly Level of detail (LOD) and View representations to switch parts on and off for various assembly variants of a theme (which works fine for me). see my "Mass of LOD's.jpg" attachment which should fully explain the parts list filtering and what I WISH to achieve. My objective is to get the correct MASS per Level of Assy and View Rep (both called the same) to be automated, correctly (as per LOD/VIEW REP), ideally, in the view label or in a leader note. I reckon I was able to do this way back in MDT? Any enhancement in Inventor 2013?
1. When in style and Standard editor with default standard selected under Standard I am trying to display mass properties in my view label.Select View Preferences tab. View type Base. Next to Display select Edit View Label.When Format Text box pops up in the selection for text type I have two options.
a. Properties - Model b. View Label Properties
2. Inside an IDW file right click on view and select edit view.When Drawing View box pops up there is the option to access Edit View Label next to View Identifier.When Format Text box pops up in the selection for text type at this point there are seven options.
a. Properties - Model b. Properties - Drawing c. Drawing Properties d. Sheet Properties e. Physical Properties - Model f. View Label Properties g. Sheet Metal Properties
Questions 1. Why are ther only two options in S&S Editor?
2. Can I add more options to S&S Editor?
I would like to add mass to my lablel inside certain templates and have it show when I display a views Base view label. Not ot have to maunually add it each time it is displayed.
How can I move a detail view to another sheet in a drawing in 2009? I have only been able to copy the detail and it's parent view to the 2nd sheet and then suppress the parent view on the 2nd sheet so that only the detail view is visible.
However, when I go back to the first sheet and try to suppress or delete the detail view, it also deletes / suppresses the detail circle from the parent view.
At times when I am dimensioning a dwg in paperspace one of the dimensions will assume the viewport scale when the dwg does a regen. Its as if the DIMLFAC will be set to something other than 1but its only for one or two dimensions. I check the DIMLFAC var for thje dwg and its set properly to (1). Since I am dimensioning in paperspace i have the DIMASSOC set to (2).
As you can imagine this is a huge problem when I send the dwg out for fabrication. What is the problem and how can I stop this from happening on random dwgs to random dimensions?
I work in both metric and imperial dimensions. I specify european cabinetry, and most of the architectural drawings i receive are for US clientelle so they're in ft and inches. When dimensioning, it's important that the cm dimensions are accurate for the factory, but the inches are accurate for the contractors.
So my drawing had 1 plan and 4 elevations. All drawn correctly. All scaled together, never one at a time. Yesterday morning everything printed correctly with this drawing.
Randomly, after some very minor changes to the drawing, 1 elevation remained at the correct scale and the plan, and 3 elevations randomly scaled down and at different scales from each other. Also, when i plotted this to a printer it matched what was on the screen. When i plotted it to PDF immediately after, the PDF's reflected 5 totally different scales where all 5 drawings and didn't match the screen or print. For example: a cabinet height in one elevation was 87cm, the next 86cm , and the next 83.9cm. Printed to pdf at totally different dimensions (see attached).
The file was closed and reopened, and the plan, and 2 different elevations were at an even different scale, smaller scale than before. They more closely matched what I got when plotting to a PDF.
I purged, and audited (no errors found), I copied only the bare bones necessary info into a new document, and scaled everything by reference to the size it needed to be. Most of the drawing automatically corrected themselves to the correct dimensions with the one step.
However, certain lines on my plans scaled at a far greater scale, while one wall was accurate, and one wall was off just a fraction. So even though i selected the entire thing and scaled it up together, different layers scaled differently. Basically i had to redraw the plan almost entirely.
The same happened with 3 of the 4 elevations. One section scaled correctly, one section scaled more than it should have and made that portion off.
So i had to redo that elevation as well.I created guidelines and set them where they need to be to align every single wall and cabinet and locked the layer in the hopes that if things move again, the guides will remain.
This has happened randomly with drawings previously, but only by a degree of .1 to .3 cm. I figured this was from scaling the drawings and dimension accuracy. While that was annoying, it was minor. This time we're looking at 2-8 inches difference which can really mess up a job if unnoticed.
what could cause only portions of drawings to scale differently than the rest and at random times even when the scale command hasn't been used? And between closing a document and reopening it? AND from printing to a printer and to a PDF?
I am not able to move any of the views in my drawing (*.idw). As instructed by the web page this should be as easy as "click and drag the red border", but this does not work. I cannot move the dimension annotations either.
I'm working on a Isometric drawing and im trying to dimension the view. I keep the original view there and cut another of the same view and place that cut view over the original, so I have something to snap to while dimensioning.
Every time i go to place the cut view over the original and i always grab the wrong view and move it and I am wondering if there is a way to pin the original view in place permanently?
I've got a macro which is creating .ipt and .idw files from templates. I'm once created I'm replacing the reference in the .idw to refer to the newly created .ipt file. The problem is that the drawing view isn't updating... I've make the .ipt file dirty then udpate the drawing, but that hasn't worked. I've tried just using the drawingdocument.update function, but that hasn't worked either...