AutoCAD Inventor :: (VBA) Write Multiple Prompted Entry Fields In One Pass?

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


ADVERTISEMENT

AutoCAD Inventor :: Label With Prompted Entry

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

AutoCAD Inventor :: Put A Drawing View Name To Prompted Entry Symbol?

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

AutoCAD Inventor :: Way To Have Default Text For Prompted Entry In Border

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

AutoCAD Inventor :: Default Settings For Prompted Entry Properties

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

AutoCAD Inventor :: Editing Prompted Entry Values With ILogic

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

AutoCAD Inventor :: Title Block - Prompted Entry In Form

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

AutoCAD Inventor :: Read / Change Prompted Entry Through Code From Title Block

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

AutoCAD Inventor :: Scale In Title Block - No Prompted Entry / Keep Current Sheet Active

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

Photoshop :: Multiple Droplets In One Pass

May 5, 2012

've been using Photoshop for a while now, since v.5.5. I'm not new to Actions, batches, droplets and the like. However, I've run into the need to process multiple files, in a multitude of ways and seem to be hitting a roadblock.
 
The current workflow is to take a folder of JPEGs and drop them onto a droplet that turns them into "Antique" look, I repeat the dragging-dropping process again with a Black & White Droplet, then again with a Sepia droplet. Ultimately I'd LOVE to combine the 3 steps into one: dropping the images onto a single droplet (or whatever it takes) and return to have 3 folders full of my derivative images.
 
My colleagues idea was to add a "revert" step into the original action, do the next steps, revert, etc. This works fine on a SINGLE image—when run solely as Action—but fails when batching because of the saving as a jpeg step. 

View 4 Replies View Related

AutoCad :: Edit Multiple Fields In Files?

Feb 16, 2012

Currently I have to open dwg file each time I need to change the stall number or name. I use Fields so I only need to edit 1 field per file.

This becomes an issue as I have excel files linked, and I have to re-link them all after changing the stall numbers.

Multiply this by 20-30+++ files, and I have a big headache.

Is there an easier way to edit the Fields for ALL files and to update the links to renamed excel files?

View 1 Replies View Related

AutoCAD Inventor :: How To Have Prompted Entries Show On All Pages

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

AutoCAD Inventor :: Copy Title Block Prompted Entries

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

AutoCAD Inventor :: Create Sketched Symbol With Prompted Text?

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

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 View Related

AutoCAD Inventor :: Inserting Balloon That Has Field For Prompted Text

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

AutoCAD Inventor :: Turn Off Prompted Entries At New Sheet Creation

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

AutoCAD Inventor :: Content Centre Prompted Filename And Part Number

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

AutoCAD Visual LISP / AutoLISP :: Can Fields Reference Other Fields On Layout

Jul 11, 2012

I was wondering if it was possible to say have a cover sheet of a project with fields and then have the other sheets in the project have their fields populate using information from cover sheet?

View 3 Replies View Related

AutoCAD Inventor :: Pass Parameter To DLL Using ILogic

Mar 26, 2013

I have built a vb interface using a tutorial from AU. Now I would like to do the same without the interface.

Inventor uses ilogic to pass parameters to the dll - the dll does the number crunching & returns values to Inventor - no interface required.

The tutorial uses an OK button to fire values back & forth - how can I do this without a button? I would like this to fire in the background without a form appearing.

View 4 Replies View Related

AutoCAD Inventor :: How To Pass Variable From One Addin To Another

Aug 25, 2013

I've used vb.net to write two separate addins.  I was wondering if there is a way to pass a variable from one addin to another similar to the way shared variables are passed from rule to rule in iLogic.

View 2 Replies View Related

AutoCAD Inventor :: Pass Array To External Rule?

Nov 26, 2013

Is there any way to pass an array from an internal rule to an external rule in iLogic?

View 2 Replies View Related

AutoCAD Inventor :: Pass Variable From VBA To ILogic Rule?

Sep 20, 2011

We are using Inventor 2011.

I have found a rouind about way to display document thumbnails in VBA in 64 bit windows 7 inventor.

The only piece of the puzzle I am missing is for a way to push a document object or a document file name into an iLogic Rule from VBA. 

Below is a 64 bit thumbnail solution for VBA sans the input.

Essentially I am launching an iLogic Rule from VBA that pushes an inventor document object into a VB.NET dll.

The dll converts the iPictureDisp into a VB.NET image object, reduces the size then converts it into a byte array.

The byte array is passed back to VBA through the same iLogic Rule.

Once the byte array is received it is converted back into an iPictureDisp object.

' ----------------------------------------

' --- VBA Project Form Code ---

' ----------------------------------------
Option Explicit
Private Sub Command1_Click()
End Sub

' -------------------------------------------

' --- VBA Project Module Code ---

' -------------------------------------------
Option Explicit
Public Sub SetPic(ByRef bBuffer() As Byte)
Set UserForm1.Pic.Picture = PictureFromRes(bBuffer)
End Sub

[Code]....

View 9 Replies View Related

Illustrator :: Write Text In Multiple Language?

Jan 9, 2014

i want to write text in multiple launguage on illustrator how can i do that ?

View 2 Replies View Related

AutoCAD Inventor :: Pass Properties From Assembly To Derive Part To IDW Drawing

Aug 10, 2012

I am using inventor 2013, and I have some model and like the word say they are model that i will use as derive parts to machined or change depending on the model. then I make the IDW drawing from the derived part.

Most os this models are assemblies. what i want is to pass the model number to my IDW drawing of the derived, so i can see from which model the part is derived.

View 5 Replies View Related

AutoCAD Inventor :: How To Get Bolted Connection To Pass Through A Component And Machined Plate

Nov 26, 2012

I have been working on a large assembly and I am trying to get a bolted connection to pass through a component and a machined plate.  I have been using the cocentric option to complete many other holes up to this point, but not through a machined surface.

When I attempt this, I get two errors saying:

Design Accelerator Doctor

1. Failed to add sketch for a hole

2. Failed to create a hole

My questions are:

Is there a way around this Or is this a problem that I am going to have to work around?

Or

Is there a better way to get a hole/bolt through this assembly?

View 1 Replies View Related

AutoCAD Inventor :: Context Menu Entry Using C#?

Apr 27, 2012

I'm trying to add to a right click menu for an Inventor addin using C#. I'm basing mine off of a VB sample. However, it appears VB allows the add command to be missing values, whereas C# will not allow any empty values.The 3 commas in a row are where the error occurs. C# error is simple "argument missing".

ControlDefinitions controlDefs = m_inventorApplication.CommandManager.ControlDefinitions; ButtonDefinition m_featureCountButtonDef = controlDefs.AddButtonDefinition("Add symbol", "symbolAddition", CommandTypesEnum.kQueryOnlyCmdType, "{DFJMQC00-938F-11E1-AFAA-.
[code]....

View 1 Replies View Related

AutoCAD Inventor :: ILogic - FOR Every Entry From A List

Dec 11, 2012

I have a section of code (see below) which runs a program which highlights a part/subassembly red, then gives the user a list dialgue box in order to easily replace the compent. At present, I have this code repeated for each part/subassembly in my main assemby (i.e. FRAME, POWER_RISER, BUSBAR_CHAMBER, BUSBAR_ASSEMBLY...).

Having the code repeated multiple times, means it is very time consuming to modify. I want to be able to generate a list then have the code below, run for each of the entries in the list. So I need something along the lines of

dim mylist as something
mylist = FRAME, POWER_RISER, BUSBAR_CHAMBER, BUSBAR_ASSEMBLY...
FOR each entry in mylist
run all the code below (with the words 'BUSBAR_ASSEMBLY' replaced with 'mylist'
END

[Code] ........

Autodesk Inventor Professional 2011
Windows 7 Enterprise, 64-bit

View 3 Replies View Related

CorelDRAW X6 :: Make Print Merge Fields Relative In Position To Other Fields?

Oct 1, 2013

Is there any way to make print merge fields relative in position to other fields or to non-variable text.

For example if I am doing address labels and I have fields for City and State:

Their positions are absolute, and the state ends up overwriting the city for long city text, as does the comma.

What I want is for the comma to follow the last letter of the city, and then state to follow that.

And yes, I realize that I can combine all three into one field, but I am asking this as a general usage of the feature. One doesn't always have control over the source.

View 3 Replies View Related

AutoCAD Inventor :: Activate Vault Check In Box Hidden And Pass Predefined Options?

Aug 2, 2013

Im working on a program that checks out syncronizes some data with our erp system and then checkes in the files again to vault. all works fine but in vault all links to other files are gone? when i checkin the files from inventor manuel then the links are ok in vault. therefore i wonder if it is possible to run the vault checkin dialog "hidden" and just pass in some predifined options and checkin to vault.

View 8 Replies View Related

AutoCAD Inventor :: Prompt For Parameter Entry On Open

Jan 29, 2013

I am going to be saving a template with one of my custom frame profiles from the content center already placed in it. I'll place it say 100" long, just an arbitrary number. How can I create a dialogue that pops up when I open the template file, it asks me for the value of 3 variables, then changes the length of my content center frame rail to the sum of those 3 variables? I've seen pop-ups before and know how to set the rule, I'm just not sure how to change the parameters..

View 5 Replies View Related







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