AutoCAD Inventor :: ILogic File Naming

Dec 19, 2011

I am struggling with file naming.

We are implementing the vault and do not want to have to rename each file with design copy.

Any way where the filename of a part will change according to either assembly pararmenters or iProperties?

Another question I had would be involving a rule that would rename each ipt within an assembly by giving at a suffix/prefix once the assembly is completed.

View 3 Replies


ADVERTISEMENT

AutoCAD Inventor :: Task Scheduler File Naming?

Jan 3, 2013

I am batch publishing .idw files to .dwf and the default file name that it creates is XXXXX.idw.dxf. how to remove the .idw? Is there is setting in Task Scheduler that can be changed?

View 1 Replies View Related

AutoCAD Inventor :: File Naming (Parts And Assemblies)

Oct 23, 2012

Need naming my parts and assemblies so i wont have trouble later finding I have numbers or names that get repeated. Need naming or diving my parts and assemblies.?

View 1 Replies View Related

AutoCAD Inventor :: Unique File Naming From Library Or Content Center?

Jan 20, 2012

I'm having some problems giving certain parts in my assembly a unique file name. Im reorganizing all of my projects in a

- content center
- designs
- libraries

way, where my projects are under designs and commonly used parts under libraries.

Now i have something like a pump. I can derrive this assembly into a solid and put it in the content center, or keep the assembly and put it in the libaries folder. since this is a part i use in multiple projects.

Now my problem is that this pump has a different name in every project, and a library part doesn't allow me to change this name. Say standard name is "centrifugal pump" while the name in project 1 would be P101, while in project 2 it has to be named P501 and so on in order to match with the flowcharts.

Is my only option here creating a solid out of these components and putting it all in my content center ( leaving my libraries folder totally empty ), adding it as a custom part afterwards ( so i can rename it ). I rather have it in my library folder, since this will keep my design folder organized without hundreds of duplicates of this pump, using different names. Besides i rather have it as an assembly so i can assign the connecting tubes of the pump to different sub assemblies of piping.

Different example, a butterfly valve excists out of 3 parts. the valve itself, and 2 connecting tubes. possible to dissemble. all 3 parts need to have the same file naming say XV900. 1 side of the valve needs to be assigned to pipe-01 while the other side of the valve needs to be assigned to pipe-02. Content center doesn't allow me to split files, but allows me to use unique file names. A library party allows me to split files ( if not read only ) but doesn't allow me to change names.

View 4 Replies View Related

AutoCAD Inventor :: How To Access File Naming Prefix In Documents Settings

Oct 9, 2012

We are attempting to access the file naming  prefix in documents settings but i am unable to start code or find away to get where i need.

We have a multi solid bodie part that changes on via suppression to different styles of profile we then need the file naming prefix to chage depending on what key have selected .

ie Parameter = Style with 4 Multi selctions 1,2,3,4

depending on selection picked we then need to change the Solid Bodies Prefix in document settings..

Example :: If style = 1 then Solid Bodies Prefix = Dave

View 3 Replies View Related

AutoCAD Inventor :: How To Change File Naming For Profile Custom Library

Mar 3, 2012

Inventor creates a names to custom library parts based on settings and available parameters.

For all custom libraries I can create file names as I want except profile libraries.

The profile library create file name using Family Name + Stock Number and I did not find the

way to change it. I cannot get rid of that Stock Number in family name in this and other profile libraries. I wish I can use Part Number instead of Stock number in naming as more informative.

To change the file naming I do the following:

Manage - Editor - chose Library - chose family - Family Table - File Naming -

than chose required parameters to be shown as file name (for instance I have

{PARTNUMBER}), than in Map to Inventor Property: - Member.Display.Name

than OK  - Refresh - Done.

All custom libraries obeys the file name changing EXCEPT the profile library.

[URL]

View 3 Replies View Related

AutoCAD Inventor :: ILogic Error Cannot Find Excel File After Saving File As Template

Dec 6, 2012

I'm linking an excel file to an .ipt file with iLogic code determining if the Material type is a certian value it will find the correct material thickness. These file work great when working on them thru Vault but when I "Save As Template" and create this file where our other template files are located (not Vault) this fuction does not work. I have realized that I had to place the a copy of the excel file in the same file folder as the template ipt, but even this does not fix the issue. 

I recieve this error:

Error in rule: Material, in document: Part6

'MWW Materials (Inventor).xlsx' could not be found. Check the spelling of the file name, and verify that the file location is correct.

If you are trying to open the file from your list of most recently used files, make sure that the file has not been renamed, moved, or deleted.

It seems completly countintutive that just saving the file as a template file would cause this not to work when all files that are required are located in the same file folder. Maybe I need a reference to the excel document within the iLogic code.

View 3 Replies View Related

AutoCAD Inventor :: ILogic Design Copy - Error Copying A File / Inventor Crashes

Nov 5, 2013

I'm trying to use iLogic Design Copy to copy an assembly and all its associated parts to another directory. The assembly contains content center parts. Inventor warns me that the destination file of one of the CC parts (and 18 others) will be overwritten. When I go ahead and copy anyway, the copying process stops at that specific CC part. The Design Copy Progress dialog box states there is an error copying that CC part. When I close the Design Copy Progress dialog box, Inventor crashes.

The error copying the CC part: I'm allowed to use content center parts in iLogic Design Copied stuff, right? I searched some related topics and I'm under the impression that Inventor keeps the CC parts in its own directory and shouldn't be trying to overwrite them.

View 3 Replies View Related

AutoCAD Architecture :: Plot To File Naming Options

May 31, 2011

Is there an option to eliminate AutoCAD from automatically inserting the layout tab name into the file name when creating a PDF?  Once upon a time it would only use the file name (i.e. A-101).  Now it uses "A-101_Layout1" (or whatever the layout name is) by default.  I either have to live with it or manually change each file name during the process of creating the PDF or after it's been created.

View 1 Replies View Related

Lightroom :: Custom Text And File Number Missing From File Naming On Export

Jan 21, 2013

why the "custom text" and "start number" is not available anymore on Export?

View 2 Replies View Related

AutoCAD Inventor :: Use ILogic To Do File Save As?

Dec 3, 2010

I would like to use iLogic to do a File Save As and have the dialog box open in a specified folder.  I have tried the code below but it doesn't work. 
 
oFileDlg.InitialDirectory = "J:" & strFolder & (".dwg")
oFileDlg.ShowSave()

View 2 Replies View Related

AutoCAD Inventor :: Open IDW File Using ILogic

Jul 19, 2013

Is there a way I can open an idw file using ilogic? I would like to put the rule into a form, so that I can click a button in the form to open the idw for my assembly.

Inventor 2014
HP Pavilion dv6t-6b00
Intel Core i7 2670QM
AMD Radeon HD 6490M
8gb RAM
Windows 7 64 bit
3Dconnexion SpaceExplorer

View 2 Replies View Related

AutoCAD Inventor :: ILogic Save File Crashes?

Sep 5, 2012

I seem to have my task accomplished, but Inventor crahes on me after it is done.

Here is how my iLogic works. 

' Deleting the suppressed parts from the assembly
Dim compDef as AssemblyComponentDefinition
compDef = ThisDoc.ComponentDefinition
Dim compOcc as ComponentDefinition
For Each compOcc in compDef
[Code] ........

Now as soon as the last line is executed, Inventor crashes.

But when I go to the save file part (C:MyPath), both the parts and assembly files are saved and if I open it, they work just fine.

I just can't get inventor to stop crashing.

View 7 Replies View Related

AutoCAD Inventor :: Using ILogic And Parameters In IDW File Text Box

Jun 7, 2011

I am trying to enter some material ordering info into an external spreadsheet, and have that info reflected in a text box within an idw drawing file.

My method is as follows:

Obtain a numerical value (250) from an external Excel spreadsheet (sample.xlsx).Assign this value to a parameter (abc) in an idw file (Materials Ordering.idw).Insert parameter abc I made into a text box within the same idw file.

I made a set_parameters rule, and the ilogic text of the above example is as follows:

'Open File and Scan line - Part = Impeller Casing Flange
i = GoExcel.FindRow("sample.xlsx", "Sheet1", "Part", "<=", "Impeller Casing Flange")
'abc = Material Width
abc = GoExcel.CurrentRowValue("Material Width")

I had no problems with the first two steps, after checking the parameters I could see that parameter abc is being updated successfully.

However, I am having trouble with the third step. In the format text dialog box, I can see a drop box for components, but I can't find a reference to the idw file in there.

My question is, am I going the wrong way about this? Should I have assigned the parameters to a component instead of the idw file?

View 5 Replies View Related

AutoCAD Inventor :: How To Close A Text File From Within An ILogic

Nov 3, 2012

I have an iLogic that runs to create parts and assemblies. These parts and sub-assemblies are for a range of library components which are either part(s) or assemblies or and assemblies composed of parts) and sub-assemblies as well. This iLogic is mostly done despite I have limited knowledge in this area. At the beginning it opens a text file (.txt)  by the command line:

ThisDoc.Launch("L:\_Nov 02Info and Input GuideLines.txt")that offers guidelines and instructions. 

I would like to how can I close (exit) this text file at a point within or end of the current iLogic because, it opens a several files of the same every time I run the iLogic otherwise.

View 3 Replies View Related

AutoCAD Inventor :: How To Delete All Parameters In A File With Ilogic

Aug 22, 2012

Working code ...... attaching file

Auto = iLogicVb.Automation
Dim iLogicAuto As Object
iLogicAuto = Auto
Dim oDoc As Document
oDoc = ThisApplication.ActiveDocument

[Code]...

'but now something more i wanna do is...... delete parameters

        If Not (param Is Nothing) Then
        
            For Each param In params
            i = MessageBox.Show("Checking for Parameter in File")
            i = MessageBox.Show("No.of Parameters exists are ="& param.count)
 
[Code]....

View 5 Replies View Related

AutoCAD Inventor :: ILogic - Browse To Select A File

Oct 9, 2012

Is it possible in iLogic to select a file in a dialog box or a browser ?

I need to replace the 3d model on a drawing. I have to ask the user to select the new file to use. How can I select the file using a dialog box or a browser ? The best should be a combobox with the list of opened files, and a button to browse on the disk, like when you create a view.

View 2 Replies View Related

AutoCAD Inventor :: ILogic Message Box At File Open?

Oct 2, 2013

My goal is to have a message box open as soon as an assembly file is opened so that other users will be warned/ notified of linked parameters.  My assumption is that an iLogic rule would be the best way to handle this.

I can create the message box, but when I looked through the iLogic snippets I didn't find any way to trigger the box at opening the file.

Inventor 2013 (SP2 Update 2), Windows 7 Professional (64-bit), SP1, Intel Xeon 3.07GHz CPU, 12GB RAM, NVIDIA Quadro 2000, Vault Basic 2013

View 3 Replies View Related

AutoCAD Inventor :: ILogic Code To Close IPT File?

Aug 21, 2013

Looking for the ilogic code to place in the drawing rule to close *.ipt file that was recently open.

View 2 Replies View Related

AutoCAD Inventor :: ILogic - Using External VB-File With Dynamic Name

Nov 2, 2011

I use Inventor 2010 with the iLogic Extension. My question is probably more VB.NEt-related than Inventor-related.

For my parts I usually have a main *.ipt that can receive input parameters and does some calculating with them. Then there are several 'slave' *.ipt that use the calculated parameters of the main.ipt. I would like to keep that structure. Using iLogic the slave.ipt's do some calculation, too, based on an external *.Vb-File. I load that file into the rules of the slave.ipts by using (for example) AddVbFile "External.Vb".

My question is if it is in any way possible to have it so that the name External.Vb can be dynamic? I tried using a new iLogic String parameter and storing the name of the external VB-File there so that I would have a Parameter Name = "External.Vb" and then use AddVbFile Name. But that sadly didn't work at all. My External.Vb is supposed to be unique for every copy of my assembly and having to write the correct name into the rule by hand is tedious.

View 2 Replies View Related

AutoCAD Inventor :: ILogic - How To Create Excel File

Jun 27, 2012

How to create a excel file using ilogic? 

View 6 Replies View Related

AutoCAD Inventor :: Open Word File And Save As From ILogic / VBA?

Nov 14, 2013

We have a word file that we use a lot for our drawings.  There is an empty file that we open and then save the file into the same directory as the drawing.

I am trying to setup some code that will open the empty Word File, and then bring up the Word Save As dialog box with the correct directory and file name already completed.  The correct directory and File name will be determined by the Drawing Code.

I have been able to open the Empty Word Document from iLogic with the following
 
'CRS Template Path & File NameoCRSTemplate = "\WWSERVERDisplaysA-Z Stand PartsCRS-Template.doc" 'Publish document. ThisDoc.Launch(oCRSTemplate)
 
I have been able to Open the Empty Word File from VBA and then bring up the Word Save As Dialog Box but I cannot work out how to define the initial directory or the initial file name from Inventor.

This is the VBA Code I have been using top open the Empty Word File and Show the Word Save As Dialog Box:

Public Sub OpenCRSDoc1()
'Don't Forget to Add the Word Object Library in the Tools - References
' Call SetCRSDetails

[Code].....

If you try to use the With Command for the FilePicker it will just open the Word Document and NOT the Save As Dialog Box!!!

Example of the With Tried

With FilePicker
.InitialDirectory = "Z:"
.DialogTitle = "Hello"
.Show
End With

How to open a Word Document from either iLogic or VBA (VBA Preferred) and then open the Word Save As Dilog Box and define the Initial Directory and Filename?

View 1 Replies View Related

AutoCAD Inventor :: Import And Link Parameters From IPT To IAM File Using ILogic?

Apr 3, 2012

I want to import the parameters from the .ipt file into the .iam file using a rule from iLogic (unless there is another way to do it?)

I pinched the code from the example hand rail iLogic part that comes with inventor and tweaked it to suit.  After inputting the code shown in the image,  when I click OK I get a 'fatal error' of some sort.

View 6 Replies View Related

AutoCAD Inventor :: ILogic - Pull Path And File Name Of Model From Within IDW

Feb 28, 2012

How to pull the path & file name of an IPT from within an IDW?

 If I use this line from within an IDW:

ModelName = IO.Path.GetFileName(ThisDrawing.ModelDocument.FullFileName)

it will simply return the file name of the corresponding IPT.

I want to be able return the path for the IPT from within the IDW as well.

Product Design Suite Ultimate 2012 64-bit - SP1
Windows 7 64-bit - SP1

View 1 Replies View Related

AutoCAD Inventor :: Call Form From External File In ILogic

Mar 26, 2012

I'm trying to find a way to call a form in a skeleton part file from within a parent assembly file.

I can open the form from the skeleton part, then leave it open and update values even while the skeleton part is inactive or even closed.  But I can't find out how to call it from the assembly file.  Is this possible?  I currently have to open the skeleton just to call up the form.

I can reference values or even add them in another form, but I am not allowed to change them in an assembly form, because they are (linked) reference parameters.

I have considered several workarounds, but this is how I really want it to work.  I'm just not that familiar with the code to know if there's a way around.  The code snippets only allow opening a form from the current document as far as I can see.  I don't really want a global from because I'm only changing parameters in one file, not all.

View 1 Replies View Related

AutoCAD Inventor :: Delete Column In Excel File - ILogic

Oct 23, 2013

Is there any way using ilogic to find a value in an excel file and delete the column that value was found in?

View 1 Replies View Related

AutoCAD Inventor :: Opening Model With ILogic And Save As STP File?

Jul 23, 2012

I have an ilogic rule created to do a save as .dxf and .pdf from the .idw file.  It will then open the .ipt file without any issues.  The problem I am having is that I also want it to do a save as .stp of the model after it opens the model.  I get the following error.

Error in rule: Save As DXF PDF and open, in document: Save As DXF PDF and open.iLogicVb

Unspecified error (Exception from HRESULT: 0x80004005 (E_FAIL))

Do I need to add something to the code?

Here is the code I have written.
 
strFolder="C:Vault_WorkspaceSave As"&iProperties.Value("Project", "Part Number")
ThisDoc.Document.SaveAs(strFolder&"_Rev"&iProperties.Value("Project", "Revision Number")&(".dxf") , True)
ThisDoc.Document.SaveAs(strFolder&"_Rev"&iProperties.Value("Project", "Revision Number")&(".pdf") , True)
doc=ThisDoc.PathAndFileName(False)&".ipt"ThisDoc.Launch(doc)
strFolder="C:Vault_WorkspaceSave As"&iProperties.Value("Project", "Part Number")
ThisDoc.Document.SaveAs(strFolder&"_Rev"&iProperties.Value("Project", "Revision Number")&(".stp") , True)
MessageBox.Show("STEP Created", "File Save")

View 1 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Naming Single Layout Tab To Match File Name?

Aug 2, 2012

Trying to get the files I use which are single-layout tab files to name the layout tab to match the file name, minus the .DWG extension.

Here is what I am trying to use, but it doesn't seem to be working.

(DEFUN C:RRT (/ name)
 (setq name (getvar (vl-filename-base (getvar "dwgname"))))
 (command "-layout" "rename" name "")
(princ)
)

View 9 Replies View Related

AutoCAD Inventor :: Drawing Views Naming

Nov 16, 2012

I was wondering if it was possible to make my drawing views more streamlined.

Currently, when I add a drawing view, the part number and scale is pulled from the part and scale chosen. So this is good; but I would like to get the styles editor to add the actual view of the part into its name.

For example, if I choose the top view, the naming should look like the following:

TOP VIEW

XXXX-XX

SCALE: X/X

So basically I'd like to know if its possible to pull that information and display it in the naming text box. I would assume this is possible as all the other parts are possible, I don't see why this isn't an automatic default.

View 1 Replies View Related

AutoCAD Inventor :: IMates / Naming And Placement?

Apr 6, 2004

How does IV recognize iMate naming. I am trying to use specific named iMates on parts that when placed in the assembly that they can be placed in the correct postions. What I have run into is that no matter how I name the iMates I can place a part with one iMate name on a non-matching named iMate. Ex.- 1601-1 will mate with 2201-1 using the alt-Drag method. (These two iMates are both insert types.) This happens sometimes using the "Use iMate" checkbox on the place component dialog. I thought that the naming and type of iMate dictated what mates with what not just type.

View 5 Replies View Related

AutoCAD Inventor :: ILogic - Export Idw Part Data To Text File

Aug 7, 2013

We have an idw package we use for Quality control. This idw has more than one sheet. Each sheet has a part placed on the sheet with dims.( DWF attached). Next we open DA inside of the file and run a report. (exported txt attached). I am trying to use ilogic the make the same report with a iLogic browser button pick. I have 2 codes (code examples on attached jpg) that i need to make into 1, or whatever works.

1st code
Dim oDoc As DrawingDocumentoDoc = ThisApplication.ActiveDocument Dim oSubDoc As Inventor.Document Dim oPropSets As PropertySets Dim oPropSet As PropertySetDim oPartNumiProp As Inventor.Property For Each oSubDoc In oDoc.AllReferencedDocumentsIf oSubDoc.documenttype.
[code]....

 2nd code
fileheader = "QAF Parts for Planning "fileheader1 = ThisDoc.PathAndFileName(True) 'first line header of txt filedescription = "Components to use for Nesting" 'use this variable in the body of the txtdelimiter = "," 'character to separate the names and values on each lineoWrite = System.IO. File. Create Text (ThisDoc.PathAndFileName(False) & ".txt")oWrite.WriteLine(fileheader) 'include the fileheader on the first.
[code]....

View 4 Replies View Related







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