AutoCAD Inventor :: VBA - Sync Prompted Entries From Sheet 1 Across All Sheets
Apr 10, 2013
I'm trying to unskillfully crash my way through writing a VBA program for modifying Inventor drawing border info, and have managed through cannibalizing other programs to achieve 95% of what I wanted (ie the iproperties part).
Prompted Entries via VBA..I'd like to create a sync 'Prompted Entries' from sheet 1, across all sheets button.
The 4 prompted entry fields are always..I'd love some VBA code that could read the above 4 Prompted Entry values from Sheet:1 and then sync these values across multiple drawing sheets within one .idw file if more than one sheet was present.
View 3 Replies
ADVERTISEMENT
Nov 27, 2013
I use prompted entries in the title blocks in some sheets in my drawings. I then use iLogic to fill in the prompted entries. Is there a way to turn off the prompted entries box when I create a new sheet?
Is there something other than a prompted entry that is not linked to a file (drawing, part, or assembly) that can be placed in a title block and filled in with iLogic?
View 6 Replies
View Related
Jul 25, 2013
I am trying to create a template and want all of the revision material to show on all the sheets but the prompted entry that I have put into the template makes me re-enter it every time I change sheets. Is there any way to have it flow through onto all of the sheets instead of having to re-enter all the information.
View 1 Replies
View Related
Apr 25, 2013
The title blocks that we use have prompted entries in them and I would like to find a way using iLogic to copy the entries from one title block to another within the same drawing; i.e.. if the user decides to change from an A2 to A1 drawing.
I already have an iLogic rule which allows the user to change the active border, title block and sheet size based on a form selection but would like it to capture the prompted entries already entered and re-use them after the change.
View 1 Replies
View Related
Apr 26, 2013
The title blocks that we use have prompted entries in them and I would like to find a way using iLogic to copy the entries from one title block to another within the same drawing; i.e.. if the user decides to change from an A2 to A1 drawing.
I already have an iLogic rule which allows the user to change the active border, title block and sheet size based on a form selection but would like it to capture the prompted entries already entered and re-use them after the change.
View 9 Replies
View Related
Apr 9, 2013
First, it requires there to be a prompted entry text box in the title block named <SCALE>, is there any way to write to a textbox that is not prompted entry? The prompt when a new drawing or sheet is created is misleading and makes users think they need to manually fill out the prompt. Secondly, this code works on multi-sheet drawings but it concludes by making the last sheet active. Since we are triggering this rule before save it's a nuisance to have the drawing switch sheets everytime you do a save. Ideally, the current active sheet should remain active when the rule runs. Here is the
For Each oSheet In ThisApplication.ActiveDocument.Sheets
ActiveSheet=ThisDrawing.Sheet(oSheet.Name)
If oSheet.TitleBlock Is Nothing Or oSheet.DrawingViews.count=0 Then Exit Sub
oTitleBlock=oSheet.TitleBlock
oTextBoxes=oTitleBlock.Definition.Sketch.TextBoxes
[code]....
View 1 Replies
View Related
Sep 2, 2013
Every time I create the sheets C3D ask me to create a profile view ?
But ... I already have it ....
Does C3D ask always for a new one ?
View 8 Replies
View Related
Oct 4, 2012
Is there any easy way to have sheet name automatically pull the "description" iProperty from the part that is on the sheet? It can be very handy in a multi-sheet drawing for each sheet to have a descriptive name in the browser, but the only way to do this (that I know of) is to manually change it.
View 5 Replies
View Related
Apr 26, 2013
I need to rename the sheets of a multiple sheet idw. This should be easy but for some reason I cannot change the sheet names. I get no errors it just does not change. Here is the VBA
'Open drawing document
Set oDrawingDoc = ThisApplication.Documents.Open(sPath, True)
'Set the sheets collection
Set oSheets = oDrawingDoc.Sheets
'Cycle through sheets
For Each oSheet In oSheets
[code]......
View 1 Replies
View Related
Jun 14, 2012
shouldn't sheets marked as "exclude from count" not be counted?
I tried this in both 2013 and 2012 to see if maybe AutoDesk broke it, but it doesn't work in either one. This is easily reproducible for me, a file shouldn't be necessary. Just open up (or create) a multi sheet drawing. Go to edit sheet on one or two of them and check the "exclude form count" box. Now create a new iLogic rule and put the following line into it:
MsgBox("This is the number of sheets in the drawing: " & ThisDoc.Document.Sheets.Count, VBOkOnly, "Number of Sheets")
View 2 Replies
View Related
Aug 8, 2013
I am frustrated at the design of sheetsets. There is no way to "lock" sheets to a particular sheet set.
When I have a sheet open with a sheet set verything is great but, if I close that sheet and open another w/o closing the sheet set, the new dwg will associate all of its fields with the other sheet set. Is there a way to lock the sheets with a sheet set? OR is there a way to automatically close a sheetset that is associated with a a file or files when they are closed?
View 2 Replies
View Related
Jan 2, 2013
is there a way to renumber sheets in the sheet set manager? i've got over 100 sheets and i need to insert some new sheets in the middle. there wasn't a way in 2009 but i was hoping for something in 2012. it seems like something that would be included by now.
Dell Studio XPS 9100
Intel Core i7 CPU 930 @ 2.8GHz
12GB Ram
64 bit
C3D 2012 SP3.0
View 8 Replies
View Related
Aug 15, 2013
I'm not up to speed in configuring title blocks with sheet set manager and I've come into this situation unexpectedly.
I had to come up with a set of P&P sheets in a hurry to assist a contractor in providing a rough estimate for a sewer run, so I generated the sheets using the preconfigured imperial sheet set template. Afterwards I've switched out the border and title block generated by the template with our standard blocks. Our block attributes are old school and do not use fields. Now I am trying to upgrade those old attributes by replacing them with fields that reference the Sheet Set attributes.
Here is the problem: when inserting the field for the sheet number I can either use the CurrentSheetNumber or the SheetSetPlaceholder attribute. If I use CurrentSheetNumber, the title block shows the correct sheet number for the current sheet (the sheet I am making the edits from). However all the other sheets show that same number. In other words the fields do not show the corresponding sheet numbers from SSM. If I use SheetSetPlaceholder none of the title blocks will update to show the sheet number.
I believe I should be using the placeholder field but I can't get it to synchronize it with the SSM. Is there a way to make this work?
Infrastructure Suite/C3D 2013, LDT 2004, Power Civil v8i SS1
WIN 7 64 PRO
HP Pavillion h8xt, i7 2600, 12 GB
RADEON 6450, 1 GB
[URL]
View 9 Replies
View Related
Jan 25, 2012
How to open multiple sheets using sheet set manager? In our office we have some machines that do and some that don't. Is there a variable to change? I know its possible I just don't know how to do it.
View 9 Replies
View Related
Nov 21, 2011
In fact, some of the things I've found online refer that you cannot automatically replace entire Titleblock Templates for existing Sheets in the Sheet Set Manager. So, here's my question:
Can you replace all existing Sheets in a Sheet Set with an entirely new Template file automatically, without opening each Sheet and re-inserting the Title block?
Example:
Let's say I have a Sheet Set. Inside the Sheet Set, I already have 20 sheets created. I then realize that my Template file is missing our company logo. I then have to open the Template file and insert my company logo. Well, this works for all newly created sheets from that point forward, but how can I get this change to automatically populate in the existing 20 Sheets that are already in the Sheet Set?
View 9 Replies
View Related
Feb 9, 2012
I am using Inventor 2012. I want to put a label with a prompted entry. So I did this,
SCALE: <scale>
However, when filling out the symbol it only puts in the scale without the label. The reason I am doing this is because my text is right justified and I need the label to move with the text.
View 6 Replies
View Related
Apr 4, 2012
Is there a way to generate the station ranges for each sheet title block when generating sheets? It seems like there should be some sheet set manager variable for it or something but I haven't been able to find it.
View 8 Replies
View Related
Aug 26, 2013
I use a CommandManager.Pick command to select my drawing view and i want to put information of this view to a prompted entry in my sketched symbols, i have many same symbols in my page and i want to put a different description for each symblos but with a same prompted entry name, ex.: <NAME>
View 7 Replies
View Related
Feb 4, 2013
Usually I use the TextBoxes. But its text would not change.
How to use vb.net to add a prompted text into the definition of a sketched symbol?
View 2 Replies
View Related
Jul 12, 2007
have default text for a Prompted Entry in a Border. I have not found a way to do this other than creating a custom iProperty, which is not an option, since it is not our title block / border.
View 9 Replies
View Related
Nov 6, 2013
I would like to make a split balloon where the top retrieves the item number and the bottom is a prompted text area. Is this possible?
If the above is not possible my fallback plan would like to make a sketched symbol function in exactly the same way. I believe this option would be significantly more code. If I have to go this route, is there a way to directly mimic getting the item number like the balloon function does?
--My current process involves attaching a user symbol, getting the proper leader node, attached entity, geometry, model geometry, containing occurrence, and then BOM of the component occurrence. Keep in mind this doesn't work for phantom or reference components.
Win7 x64 - 16gb ram
i7 3610qm
FirePro M4000
Inventor 2013
ETO 6.1
View 4 Replies
View Related
Aug 12, 2009
I'm trying to set up some new title blocks, I have some "prompted entry" Properties that I want to incorporate, I've got them in the title blocks OK but I can't seem to get em to return a default value, the prompts are all coming in blank when the dialog box comes up. I have set the defaults to what I need on the original ANSI template with the new title block, but when I create a new drawing using that template, the title block comes in without any values set. Is there a way of setting them to return a default value initially that you would change if required, I'm sure I'm missing something very basic!!
Also, in the 'edit property' fields dialog box, there does not seem to be a way of inserting symbols into the value field, have I not turned on the right variable, or missed have I something else??
View 9 Replies
View Related
Dec 11, 2013
I have been attempting to automate some prompted entry (PE) values using iLogic and the SetPromptResultText command.
The command works on the customer-supplied template I have if I create a new PE called <DELETEME> - my code also works on this new PE even if I delete the "<" & ">" from either end of the string so it becomes "DELETEME".
The command doesn't work on the customer supplied fields of "PURPOSE OF ISSUE" & "PROJECT REF No" but if I add < & > to either end (so they become "<PROJECT REF No>" & "<PURPOSE OF ISSUE>" respectively) and modify my code to look for that instead, lo and behold it works.
why it works with the "<" & ">" on the ends of the string but not without?
My guess is that the "<" & ">" allow the PE to have spaces and without it Inventor 2013 throws the dummy in the dirt and refuses to play nice! - Just tested that theory and it's clearly cobblers.
Here's the sub-routine I wrote (with the working "<" & ">" still in place):
Sub UpdatePromptedEntries(oDoc As DrawingDocument)'assumes the oDoc is activatedDim oPromptEntryDim actSheet As Sheet = ThisApplication.ActiveDocument.ActiveSheet'For Each oSheet In ThisApplication.ActiveDocument.SheetsFor Each oSheet In
[code]........
View 4 Replies
View Related
Sep 14, 2013
When creating a title block I use iProperties and Prompted entry.
Now I want to place all entries and properties in a form so that I have everything together.
With the iProperties it works because you can select the iproperties when you create the form but I can not select the prompted entry to place in the form
Is there a way to select the prompted entry to place in the form?
View 2 Replies
View Related
Nov 8, 2011
Create a Content Center Part that prompts for a file name and sets the Part Number to whatever I save the part as? It would also be nice to... Have the browser Display name the same as the saved filename.
If I have a standard part with a blank filename, inventor will make the part number equal the filename at the first save. It is this functionality that I require when using Custom Content parts.
E.G. If I have a length of 'RHS 200x100x6.3 - 2000mm' selected from content centre and I want the filename to be saved as 'Part-001', then I would like the Part Number to be set as 'Part-001'.
If I then place the same member in another project/assembly I may want to call it 'ProjectPart-100', where the part number would then be 'ProjectPart-100' and so on.
This method ignores the filename entry in the Ipart table.
View 1 Replies
View Related
Oct 17, 2013
Is it possible to write multiple prompted entry fields down in a single pass? As it is now, you can see the taskbar reporting as it writes down each line.
Essentially i've got 6 different fields i'm trying to write down using code like shown below:
If oTB.GetResultText(oTitleBox1) <> Me.Title1.Value Then Call ThisApplication.ActiveDocument.ActiveSheet.TitleBlock.SetPromptResultText(oTitleBox1, Title1.Value)End IfIf oTB.GetResultText(oTitleBox2) <> Me.Title2.Value Then Call oTB.SetPromptResultText(oTitleBox2, Title2.Value)End If
Just wondering if there's a way it can be written down in a single pass to save time or if it's a limitation of prompted entry text.
View 2 Replies
View Related
Aug 27, 2013
How could I read / change prompted entry through code from title block (for example DIN) within VB.Net?
View 3 Replies
View Related
Jan 26, 2006
In an assembly, you can type in offset values for a part or assembly via the properties occurrence tab. Why is the x y and z offset angle entries grayed out? Is there any time that these could be used?
View 9 Replies
View Related
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
Sep 12, 2013
A collegue asked me about this as he has been given a part to model and the details are for the flat sheet not the finished model. Is this possible in 'sheet metal'? I had a quick play but couldn't work it out. Im used to creating the finished part and 'un-folding' to get the flat pattern.Detail supplied below.
View 4 Replies
View Related
Apr 16, 2012
I have a dwg file with three sheets in, just default names, I can access sheets 2 and 3 but get the attached errors when trying to access sheet 1 form either sheet 2 or 3
This file was originally created in IV2009 I've had no problems then or with the various conversions of it.
It seems to be memory related so here's the sitrep as for memory 8GB DDR2 RAM, and Virtual Memory set at min of 8192MB and a Max of 16384MB, I did have it set a systems managed but that gave a warning of low virtual memory with almost every drawing file that I opened.
View 1 Replies
View Related