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?
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)
When I double click on a base view - the option to change view orientation is greyed out. So at the moment, if I make a boo-boo with my base view - I have to delete it and create a new one to get the right orientation. Is this a setting I've missed somewhere - or is it normal behaviour?
When I read in this file: [URL]
It states:
Tip To reset orientation of a drawing view, change the view orientation or rotate the view.
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?
I finished my pressure water pipeline plan/profile viewframe and sheets. But in order to approve it here in Brazil, I need to deliver a CD with the .DWG file without AEC Objects. My dismay is the label orientation when I run the AECObjExplode, since all my alignment labels need to be VIEW oriented. Is there a way to do run AECObjExplode so the labels stay oriented to my view frame and sheets in paper space?
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'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.
Typically at my company we rotate our drawing orientation under the Projects - Drawing Setup - Orientation. Rotate the drawing to a known basis of bearings. Then we label the boundary and the bearings are rotated to match the basis of bearings without having to rotate the drawing in model space. Just reciently my labels havne't been holding the orientation. So when I add a static or dynamic label the bearing reads as though my orientation is due north. BUT, when I loook at the line priperties, the bearing is correct, as it has held the orientation.
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.
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.
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.
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
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")
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.
I have a program that create a bunch of new custom Iprop in each part of an assembly.
How can I show all those new properties when I open the BOM in the assembly file. Manually I can add a custom column but that is time consuming. Is there a way I can create a macro that will add those custom column in the BOM view?
Ive been using inventor for around 2 months now and its all been going good... ive recently done a rather complex assembly that id rather not redo... unfortunately... i ungrounded the base part fiddling with it trying to find a working constraint set for my needs (evenly spaces cylinders on a base plate and a centered on a mounting plate... i ended up using holes and the cylinders screw holes to align them but still this was AFTER i messed it up)
So now because of that the default view is skewed by roughly 45 degrees or so... now i have set the front view manually to reset the ground plane.... but if i stick this in a dwg as front its as if i did nothing... and yes i have triple check to make sure ive set the front view.
In my neverending battle to find a way to turn off unneeded components in an assembly, I'm trying my hand at modifying component visibility with a custom View Rep. View reps seemed to pose fewer issues than LOD's (in that you can have a drawing and model open at the same time without a million error messages)......until I tried to make a pattern.
When first placing a new subassembly component into an assembly, it will automatically place in the "Last Saved" View Rep. Since certain parts may be invisible in my "skeletal" subassembly, this is ideal. HOWEVER, when I try to pattern this subassembly, all of the occurrences absolutely insist on displaying at the "Master" View Rep. This makes no sense to me whatsoever and destroys yet another workflow at the 99% mark. I understand that I can change the view rep manually, but manual workarounds and corrections defeat the point of using iLogic to manipulate our models.
Am I the only CAD user who wants the simple ability to "turn off" an assembly component? iAssemblies are not an option due to the shear number of combinations of unneeded components.
I want to create a rule with CommandManager.pick who see the name of assembly and send a custom ipropertie to all parts of this assembly view in drawing, this is my none finish rule.
Dim doc = ThisApplication.ActiveDocument Dim entity = ThisApplication.CommandManager.Pick( SelectionFilterEnum.kDrawingViewFilter, "SÉLECTIONNE UNE VUE") modelName = IO.Path.GetFileName(ActiveSheet.View(entity.Name).ModelDocument.FullFileName) PART = Left(modelName, 11) EXT = Right(modelName, 3) FIRST = Left(modelName, 3)
[code]....
I have the rule "SEND TO PARTS" in my assembly but i have this error message
MEMBER NOT FOUND. (Exception from HRESULT: 0x80020003 (DISP_E_MEMBERNOTFOUND))
In the Sheet Set Manager, in the Sheet List tab, if you click on the project name and Righ-Click and select Properties, you can see the file to be used as the Label Block for Views. It appears that there can be only one block chosen.
I would like on our Enlarged Plan drawings to use another block.I made a subset for these Enlarged Plans, but Right-Clicking on it does not offer a place to specify a different block.
Is there anyway to have a different block for a subset of drawing?