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


ADVERTISEMENT

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 :: 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

AutoCAD Inventor :: Retaining Title Block Prompted Entries When Changing Title Blocks

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

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

AutoCAD Inventor :: Change A Title Block?

Mar 26, 2013

Is there a way to change a title block? After finishing all the dimensioning and details I realized I used the wrong title block.

View 3 Replies View Related

AutoCAD Inventor :: Change Title Block Using Visual Basic

Jan 2, 2013

I am trying to change the title block of the active sheet using visual basic.  I realize this can be done using a snippet in iLogic, but I am creating an external .dll file using Visual Studio.

I have tried...

ThisDoc.Document.ActiveSheet.TitleBlock.Definition = "Title Block Name"

ThisDoc.Document.ActiveSheet.TitleBlock.Definition.Name = "Title Block Name" (This changes the name of the title block in the browser but doesnt swap it out.)

Call ThisDoc.Document.ActiveSheet.TitleBlock.Definition("Title Block Name")

View 2 Replies View Related

AutoCAD Inventor :: Macro-command To Change Title Block In IDW

Feb 11, 2004

Is there any macro-command to do this :

"Open the .idw that you created your title block in. Locate and right click on your title block in "drawing resources". Select copy. Open the file that you want to put your title block in. Right click on "drawing resources" and paste your title block there. Now you will have to delete their title block and then activate yours. "

I want to change my drawing template and I have many to do and it must have somewhere somehow a way to do this automatically?

View 8 Replies View Related

AutoCAD Inventor :: ILogic Rule To Change Title Block

Apr 23, 2013

I create a thread here: and I have most of what I require, but for some reason I can't iLogic to swap my title blocks within my drawing template.

View 3 Replies View Related

AutoCAD Inventor :: Title Block Text Size Change Does Not Work

Mar 20, 2013

I have tried to change the size of the text in the title block and in other places within a drawing, but the changes are ignored. They always come back to Tahoma 0.120"

Is this a bug in the program?

Inventor 2013 with the latest service packs, etc.

I really need to make some changes to the title block and making the text smaller is one of them.

View 3 Replies View Related

AutoCAD Inventor :: ILogic Automatic Change Of Drawing Title Block?

Nov 13, 2013

I am currently working with fx parameters and iLogic to drive a model and it's corresponding drawing to change based on a single user parameter.

I have managed to get the drawing to update both the scale of the views I need and the size of the sheet with the change in parameter using the following rule:
 
IfParameter("EB75551.ipt.Rise")<1801Then
ActiveSheet.ChangeSize("A1", MoveBorderItems :=True)
ElseIfParameter("EB75551.ipt.Rise")>1800Then
ActiveSheet.ChangeSize("A2", MoveBorderItems :=True)
EndIf

However when i attempt to use this with the title block using the function:

ActiveSheet.TitleBlock="My Title Block"
in place of the sheet change size it brings up the error message:

Error in rule: Drawing Title Block, in document: Drawing

The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))

I have read elsewhere that this is due to me having prompted entries for the scale and drawn by fields, however when i use the function designed for prompted entries: ActiveSheet.SetTitleBlock("Other Title Block", "promptedEntry1", "promptedEntry2")
It fills in the prompted entry fields from the code and if i change these entries in the "edit field" option they are overwritten when it is updated.

Is there a way have the prompted entries when you open the drawing fill in the "promptedEntry1" field in the rule so that I can use the rule? Or am I going about it the wrong way?

I should point out i'm new to iLogic and no-one in my workplace can use it so each person changing the "promptedEntry1" field to the scale they wish isn't a wise move.

View 2 Replies View Related

AutoCAD Inventor :: Change Library Content Centre Status From Read Only To Read / Write

May 4, 2012

How to do it?

I am using Inv/Vault Pro 2011.

View 9 Replies View Related

AutoCad :: Title Block Change From A4 To A3

Jun 3, 2011

i have a title block in the layout tab which i use for all new docs. when starting a new drawing i open my old one, delete the drawings and save it with a new name - this way i always have my title block how i want it in the Layout 1 tab. this has worked for me so far. but now I need to create an A3 print out.

i have created the picture that i need in modelspace but when i click in the viewport within the layout and select the scale that I have been asked to use, the pic becomes too big for the page.

when i go into page setup i can select a3 and preview this but it just shows my a4 page in the middle of an a3 page. so how to i make the titleblock and viewport bigger (to fit a3)?

View 3 Replies View Related

AutoCad :: Block Read Lenght Of Polyline And Dynamically Change 2nd Value?

Jul 26, 2011

I want to make a block with dynamic attributes. Basically I have some polylines on my drawing which represent cables, and I want to have a block with a legend on each polyline with 2 values. First will be the cable type which I would enter manually and the second value will be the length of the polyline. Is there any way that the block would read the length of the polyline and dynamically change the 2nd value?

cableblock.jpg

View 7 Replies View Related

AutoCad 2D :: How To Change Border And Title Block Colour

May 15, 2013

We have decided to have a company re-brand.

This involves a New Logo and slight colour change!!!

We have booklets with up to 30 layout tabs in each one.

Is there a quick way to change the border and title block colour on all these layouts rather than have to do a quick select on each tab!!

View 4 Replies View Related

AutoCAD Inventor :: New Title Block In Old Drawings?

Oct 22, 2013

I have done a new Title Block in our drawing templates.

It only works in New drawings if I open an old drawing I must "Copy/paste" the new Title Block into the browser to the left But I want all our old drawings to use the new Title Block.

Is there a way to have the new Title as default on all old drawings?

View 3 Replies View Related

AutoCAD Inventor :: Customizing The Title Block?

Jun 14, 2012

How can I customize the title block where it says Drawn, Checked and approved?

I want the dates with initials to place automatically. However, I want the date of approval and checked to be 2-5 days after the drawn date. (using Inventor pro. 2012)

View 1 Replies View Related

AutoCAD Inventor :: Replace Title Block C#

Oct 2, 2013

I am trying to replace the title block of the first sheet of the active drawing via C#. I currently am receiving the following error on the last line of The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG)).

Why the code below is throwing this error? I have tried multiple variations of the code below to no avail and I'm sure this is something minor that I am overlooking. The title block definition under Drawing Resources is replaced with no errors, the title block on Sheet 1 is deleted just fine, but I can't seem to add a Title Block back in!

How Documents are defined:

Inventor._DrawingDocument oDoc = getDoc();Inventor.DrawingDocument sourceDoc =(Drawing Document) instance.Documents. OpenWith Options(sPath, options, false); Find, copy, replace: TitleBlockDefinition tBlock = sourceDoc.TitleBlockDefinitions[blockList.SelectedItem.ToString()]; TitleBlockDefinition newBlock = tBlock.CopyTo(oDoc, true); oDoc.Sheets[1].TitleBlock.Delete(); oDoc.Sheets[1].AddTitleBlock(newBlock);

View 1 Replies View Related

AutoCAD Inventor :: Weight In BOM / Title Block

Apr 20, 2012

I am trying to include the weight for all components in assembly BOM as well as calculated overall weight in TB, but there are no available property to choose from in the drop-down list.

View 2 Replies View Related

AutoCAD Inventor :: Get Parameter Into Title Block?

Apr 10, 2013

I've created the user parameters and they get the information I need by the rules in illogic and also added as custom properties, but when I try to put them on the title block they don't retrieve the information.

View 9 Replies View Related

AutoCAD Inventor :: Get Parameter Into Title Block (CF)

Apr 10, 2013

I've created the user parameters and they get the information I need by the rules in illogic and also added as custom properties, but when I try to put them on the title block they don't retrieve the information.

View 1 Replies View Related

AutoCAD Inventor :: Mass In Title Block

Nov 26, 2012

I have added the mass properties and I do not want the lbmass behind it. How do I get rid of it?

View 5 Replies View Related

AutoCAD Inventor :: Title Block Macro

Jun 13, 2013

Malfunctioning Title Block Macro in Inventor 2014? The script is attached. I think there is a problem with datums. I have switched to a new computer and installed Inventor 2014 on it. The macro worked with my old computer and Inventor 2013. This is a .ivb-file, not a .txt-file. Please change that before you test it.

View 8 Replies View Related

AutoCAD Inventor :: Custom Title Block

Mar 28, 2013

I have a cutom title block that automaticly places material, status, stock number etc. of the component in the drawing sheet, but I am stumped as to placing the quantity automatically. I have defaulted to using a prompted entry, but that is prone to errors.

View 9 Replies View Related

AutoCAD Inventor :: Title Block Reference?

Apr 5, 2012

I have text in my title block that references part properties. If I have several different part and assembly base views on a sheet, how do I control which one the title block references? It defaults to the first one that was placed. I am using 2011 Pro.

View 1 Replies View Related







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