AutoCAD Inventor :: Sort User Parameters By Code

Apr 10, 2013

I work with Inventor 2011.

It is possible to sort Parameters (user parameters) by code (simulating a click on column header) ?

View 3 Replies


ADVERTISEMENT

AutoCAD Inventor :: Sort (Resort) A Hole Table Via Code?

Oct 8, 2013

How do you sort(Resort) a hole table via code?  The hole table does not appear to have a .Resort member.

I would think it would be oHoleTable.Resort.

Inventor Professional 2014 64 Bit
Windows 7 Professional
NVIDIA Quadro FX 4600
Dual Intel Xeon E5540 CPUs
16GB DDR3 Ram

View 2 Replies View Related

AutoCAD Inventor :: How To Copy User Parameters

Apr 23, 2012

I need to copy about 15 user parameters from 1 part to about 300 others.  I used the DA to copy the iproperties but the user parameters are also needed. 

View 2 Replies View Related

AutoCAD Inventor :: Text User Parameters

Jul 18, 2005

Is there a way to create user parameter as TEXT Paramters does not accept the text paramaters . we always have tor create parameters as numbers.

View 9 Replies View Related

AutoCAD Inventor :: User Parameters In Tables

Feb 25, 2013

Is it possible to add a user parameter into a general table in a drawing?

Example:

If I create a multi value text parameter called "Design", and give it two values "open" & "closed". Is there a way to add the chosen value into a general table on the drawing.

Autodesk Product Design Suite 2013
Win 7 Professional 32bit
Intel(R) Xeon(R) W3565 @ 3.2GHz QC
4.0 GB Ram
1GB Nvidia Quadro 2000

View 1 Replies View Related

AutoCAD Inventor :: Macro / Code To Export All The Parameters Information

Apr 26, 2012

I'm currently using Inventor 2012 and i need a macro (code): I want to know if it's possible to export all the information from the parameters list (everything, names, values, tolerances, comments...) to an excel spreadsheet or a txt file (it can be a table, or a CVS file, i just want that information!), from a part file (.ipt) or a drawing file (.dwg).

Currently, i can only export the parameters' names and values , but i can't get to the tolerance values and comments . . . 

View 9 Replies View Related

AutoCAD Inventor :: Using User Parameters In Drawing Sketch?

Aug 22, 2011

We are trying to add reference lines to the idw drawing for a sub-assembly.  These lines represent centerlines of parts of the main assembly. The main assembly is not the reference file for the drawing.  However, the required dimension setting the centerlines is a User Parameter in the sub-assembly.  (The centerlines are represented by work planes in the sub-assembly file).  Using iLogic, we were able to populate the User Parameter from the sub-assembly into the idw file.  We can see it as a User Parameter in the idw file.  However, when we go into sketch mode the User Parameter is not an option.    In sketch mode, we pull a dimension between the two centerlines (d4).  When you look at the parameters d4 does not exist so we cannot set d4 equal to our User Parameter (and we've looked there are no filters on).      We need this dimension to be able to adjust as the length of the sub-assembly adjusts for different cases.  Each case is unique and done on a job by job basis. 

There are several places in our drawings where being able to place reference lines and set their relationship to the part would be very useful. 

1.  Why are the User Parameters not available for use in sketch mode on a drawing?

2.  Why can the dimension IDs (ex. d4) not be seen by looking at the parameters? 

3.  alternative way of putting reference lines on a drawing? 

View 4 Replies View Related

AutoCAD Inventor :: ILogic Code To Create User Parameter?

Jul 29, 2011

I want to use iLogic to create User Parameters with Multi-Value lists filled with info from an excel spreadsheet. What is the code to create a new User Parameter?

i7-2720QM Dell Precision M6600, Win 7 Pro 64-bit, 8GB RAM
Autodesk Product Design Suite Ultimate 2013
Autodesk Vault Professional 2013

View 4 Replies View Related

AutoCAD VB :: Access To User Parameters In Parameters Manager?

Aug 3, 2011

How can you access user-defined parameters/function defined in the Parameters Manager dialog?

View 1 Replies View Related

AutoCAD Inventor :: Add User Parameters To Parts Using External Rules

Feb 25, 2013

I have a large collection of parts that are controlled from an exteranl rule. I need to make slight changes to the external rule, but for the changes to be successful I need two extra user parameters to be added to each of the parts. There are hundreds of parts, so going in and adding the two parameters to each would take days.

Is there a simple way of getting the external rule to add the two parameters?

P.s. My VB skills are pretty limited, but my understanding of iLogic is pretty good.

View 2 Replies View Related

AutoCAD Inventor :: Change User Parameters From A Linked Part

Jul 19, 2013

I made an assembly that adjusted to sized based on some key parameters. These key parameters are controlled by a form in the main assembly. The keys parameters actually adjust the skeleton file, which then drives the frame, then all the parts are adjusted.

after changing these parameters all necessary parts would adjust to size and keep the location constraints. Worked quite well.

The issue now is that, we adopted a new naming convention and this assembly requires all the part files to be renamed. I meticulously saved each part as their new name and then replaced each component in the main assembly. This worked to an extent. The problem that I am facing is that when I saved each part as there new name, the new part retained the linked parameters to the old part. Is there a way to change this link to the newly name skeleton file?

I looked into design assistant for this process as well, but the only changes I think available were to add a prefix or suffix. If worse comes to worse, I can remodel this project but, I am sure there has to be a way to alter this.

attached is a single part with those parameters in the image above.

View 2 Replies View Related

AutoCAD Inventor :: Calculate Area Of Extrusion Without User Parameters?

Jul 11, 2012

I have a part with very irregular shape created by projecting geometry of other parts. 

I wondered if there is any way of calculating area of this extrusion instead of dimensioning the sketch and creating equasions in user parameters?

View 9 Replies View Related

AutoCAD Inventor :: IPart User Parameters In IDW General Table?

May 1, 2013

I have an IPart with about 100 instances in it that is sheet metal. I created a user parameter for the gauge of the sheet metal relating to the thickness and that works fine in the ipart. My dilema is how to get the gauge to show up in my drawing in the general table. Pretty much I woud like the table to list part number, material and then have a column for the gauge of the steel related to the thickness in the Ipart table. I am using Inventor 2011 if that makes a difference.

View 2 Replies View Related

AutoCAD Inventor :: Including User Parameters In Part Description?

Dec 8, 2011

I have some parts with varies User Parameters that allow cusomization of part features.  With numeric user paremeters we can check the export parameter box and then, in the description of the part we can refrence that parameter.  For instance the description could be: =Width <Width>, Height <Height>, etc. Where it would desplay as Discription: width 22in, height 12".  

We also have text User parameters.  Is there a way to add these parameters to the description as well?  They do not have the option of checking the export parameter box in the parameters table.

View 1 Replies View Related

AutoCAD Inventor :: External ILogic Rule With User Parameters

Aug 30, 2013

I need import all new params, rules and forms from a new template to older parts. I'm trying to use an external rule to create a new iproperties and import params from xml file but I can't assign these parameters with these iproperties.

I attach the code.

View 3 Replies View Related

AutoCAD Inventor :: Add Specific User Parameters To Part File

May 21, 2012

I would like to have a rule that will add specific user parameters to a part file.  These parameters need to be formatted so the width, depth and thickness will control the description of the part.

IE:

Width=4

Depth=2

Thickness=3/16

DESCRIPTION = TS <Width>X<Depth>X<Thickness>

I would like to format each parameter so that the:

Format=Fractional

Precision=1/16

Unit string=False

This is what I have so far:

oMyParameter=ThisApplication.ActiveDocument.ComponentDefinition.Parameters.UserParameters

oParameter=oMyParameter.AddByExpression("Width", "TOP_RAIL_WIDTH", UnitsTypeEnum.kInchLengthUnits)
oParameter.ExposedAsProperty=True
oParameter.Units="in"

[Code]...

The TOP_RAIL parameters are from a linked file.

View 9 Replies View Related

AutoCAD Inventor :: Exporting User Text Parameters To Custom IProperties

Nov 21, 2012

I am trying to export a user parameter that is a text string to a custom I property. I am able to export other parameters to custom properties that are numarical values. I export check box is missing on the text user parameter.

Is there a way to acomplish this with I-logic?

View 5 Replies View Related

AutoCAD Inventor :: Change Multi Value Select To Custom Value Input In Ilogic User Parameters

Aug 31, 2011

I want to change 'mutil value select" to "custom value input" in ilogic user parameters. something like this:

if condition A then

multivalue.setlist("length", 1,2,3,4,5)
else

(users can enter any value they want, how can i remove the list first and set it to custom value input?)

View 2 Replies View Related

Lightroom :: User Sort In 3.5 Ceases To Work

Oct 30, 2011

I've been a LR user since before 1.0. Never had any sorting problems. Now using 3.5 on a 2009 24" iMac, running Lion. Today I'm trying to sort for a web gallery in a collection, as I always have done, and cannot sort. User Sort is selected when I move a picture, the black bar appears where it should, but when I release the mouse, the picture goes bact to where it was. I have tried deleting preferences, and restarted several times.

View 7 Replies View Related

AutoCAD .NET :: Make User Parameters Visible

Dec 20, 2010

Moving right along with my Parametric Block programming tools.  I have successfully created several linked parameters with formulas and values, and now I want to be able to show a select few of them in the Properties Palette (NOT Parameters Manager) for the inserted block ref.  Taken from Stephen's example, here is my code for creating the AssocVariable (User Parameter)

Public Function AddOrModifyVariable(ByVal varName As String, ByVal varExpression As String, ByVal sourceObjectID As ObjectId, ByVal trans As Transaction) As ObjectId Dim db As Database = sourceObjectID.Database Dim varId As ObjectId = ObjectId.Null Using trans2 As Transaction = trans.TransactionManager.StartTransaction() ' Open the AssocNetwork Dim networkId As ObjectId = AssocNetwork.GetInstanceFromObject(sourceObjectID, True, True, "") Dim network As AssocNetwork = DirectCast(trans2.GetObject(networkId,
[code]...

I don't know if I need to create a dynamic block property (or if that can be done), or somehow get this AssocVariable to display on its own.I also noticed that the example for creating a parametric Dimension object, does not set the dimension to the right type of Dynamic dimension.  (Play with the Constraint From property in the properties palette, be sure to regen in between). 

View 3 Replies View Related

AutoCAD .NET :: How To Remove User Interaction Part From A Code

May 14, 2013

I have got this code by KEAN WALMSLEY.His code will ask user to select a block and then list all of selected block's attributes. However, I need to tweak his code a little bit and instead of user interaction, the block has to be selected by its name and through my code.

Here is his code (with slight changes to suit my purpose):

rivate Sub ListAttributes()Dim ed As Editor = Application.DocumentManager.MdiActiveDocument.Editor Dim db As Database = Host Application Services.WorkingDatabaseDim tr As Transaction = db.TransactionManager.StartTransaction() Try Dim filList As TypedValue() = New TypedValue(0) {New TypedValue(CInt(DxfCode.Start), "INSERT")}Dim filter As New SelectionFilter(filList)Dim opts As
[code]....

 Now, I need to change this Sub to a Function as below:

Private Function ListAttributes (blockName As String) As Boolean

The aim is to list all block attributes if the 'blockName' exists in drawing and return True afterwards. Oppositely it should return me False and print nothing to Editor if blockName does not exist.

View 5 Replies View Related

AutoCAD 2010 :: Table For Dimensional / User Parameters

Jan 26, 2012

Is there a way to create a table to display parametric information -- either Dimensional Constraint Parameters or User Parameters?  This can be done with Inventor but I haven't yet found a way to do this in AutoCAD.  I've also considered Data Extraction but this doesn't seem to recognize parameters.

View 1 Replies View Related

AutoCAD Dynamic Blocks :: Subtitle Group Of User Parameters?

Jul 11, 2013

I have a dblock I built that has quit of few User Parameters. I know I can put the order I want them to display but is there a way to break them up by a blank line, or  maybe subtitle a group of  user parameters?

View 3 Replies View Related

AutoCAD Dynamic Blocks :: User Parameters Get Corrupted Randomly

Jul 29, 2013

When I create blocks and give them dynamic elements, I often define user parameters in the block table. I have noticed that on some drawings when I open them and go to the block editor to edit them, the user parameters have no name, value, or expression and my dynamic will not work.

I have tried renaming them and putting the expression back in from the parameters manager, but it gives me an error message saying invalid parameter name.

View 2 Replies View Related

AutoCAD 2010 :: Custom User Parameters In Block Are Lost?

Sep 11, 2012

I have created a dynamic scale bar block that a user can edit two custom properties of (Horizontal Scale and Vertical Exaggeration) and the values on the scale bar will self-adjust after a regen.  The block works fine if inserted into a drawing as per normal the normal insert method.

However, the issue I am running into is this:

If the block is inserted into a template drawing that contains our standard company titleblock (again this part works fine), and that layout is then imported into a new drawing using the "From Template..." right-click option on the Model/Layout tabs, the block loses the custom user parameters.  Editing the block definition shows that the parameters are there, they just no longer have names or default values and do not appear in the properties window when the block is selected.

Trying to edit the user parameter names in the block definition of this imported copy of the block, just results in receiving an error that I'm attempting to use characters that are not alphanumeric.

I've tried this same procedure with 2013 and the issues still occur.  I've tried user parameter names that don't have an underscore in them (just in case that was causing the issue), but again no luck.

I've attached a simpler block that recreates the same problem: Tester.dwg - this is the block that can be inserted into a drawing.  It contains two user parameters "Tester" and "Tester_2".  Inserting this block into a drawing shows the block works correctly (user parameters are editable from the properties window).Testing.dwg - this is a drawing that contains the above block inserted onto Layout 1.  If Layout 1 is imported into a new drawing (using the "From Template..." right click option of the model/layout tabs), then the block no longer functions as it should.  The two user parameters are no longer visible in the properties window.

View 2 Replies View Related

AutoCAD VB :: Programmatically Read And Write Dimensional And User Parameters?

Oct 3, 2011

I am looking for an Example of accessing 2011 AutoCad FX Table.

I would like to programmatically read and write dimensional and user parameters.

View 9 Replies View Related

AutoCAD Map 3D :: Get Color Picker To Popup Inline In Code To Get User Selection?

May 27, 2011

I am porting some VBA to VB.Net.

Several of the modules do a ThisDrawing.SendCommand("_color" & vbCR) to popup the AutoCAD color picker, then process the response by doing a ThisDrawing.GetVariable("CECOLOR") to get the selected color.

With .Net, the SendCommand does not execute until the .Net program ends.

How can I get the AutoCAD color picker to popup inline in my code so I can get the user's selection?

View 2 Replies View Related

Revit :: Renaming Existing Parameters - Assembly Code?

Dec 22, 2011

Is there a way to rename the Identity Data Parameter- Assembly Code?

View 3 Replies View Related

AutoCAD Dynamic Blocks :: Insert And Change User Defined Parameters From Excel-text File

Oct 6, 2012

But I was wondering if it is possible to contol the insertion of dynamic blocks and it user definerable parameters from a excel-text file.

I am surveying a section of pipework and I need to display the brackets that are supporting the pipes. As there are numerous pipes on top of each other I have decided to show the brackets in plan and isometric view.

I think I have made the dynamic block ok and have numerous stretch/move and scale parameters working correctly.

But the only way that I can see of chaging these parameters at the momment is by manually typing them in the properties tool pallete for each individual block.

So I was thinking that if I can store the correct values that I need for each parameter in the dynamic block on our data logger along with the correct E,N,Z insertion point is it possible for this file to change the parameters in the dynamic block for example, If I have the correct insertion point stored and then have 10 parameters stored with that point for simplicity I store as A=5.00,B=8.00,C=0.100 etc and these correspond with the parameters in the dynamic block will this file be able to alter the  dynamic block as the values in the excel/Text file are displayed.

View 2 Replies View Related

AutoCAD Inventor :: Transition From Single User / Desktop Content To Two User / Vault?

May 7, 2013

After getting Vault installed on our server and successfully setting up users and connections, I used the Library Transfer Guide to move our Content Center (including custom) to the Vault. I then changed the Inventor Application Options -> Content Center -> Access Options to Autodesk Vault Server.

This seems to have worked, as I can Place from Content Center when in an assembly, and it is pulling standard content as well as our custom files properly from the vault.  However, in the instructions that I used for the installlation, it was suggested to stick with a standard folder structure within the Vault, namely two Library Folders named 'Content Center Files' and 'Libraries' and also a regular folder named 'Designs'.

 I created those folders prior to transferring the library, as I thought they would be populated with the standard/custom content. This was not the case and I am curious when these folders come into play? *they are empty*

Also, today I will be attempting to 'Check In' a project to the Vault that I recently completed; does this usually maintain structural relationships between files?

Would you recommend using a single project structure in vault for two people? It seems, since we won't be working on the same project at the same time, having a single project would not be relavant to our situation..

Inventor 2011 / Windows 7 Pro SP1 64bit
Dell Precision T3600
Intel Xeon E5-1607 @ 3.00GHz
AMD FirePro V4900
20 GB Ram

View 7 Replies View Related

AutoCAD Inventor :: ILogic To Sort BOM?

May 22, 2012

I have been unable to find any code to sort the BOM, there are lots of snippets to sort and modify the Parts list.

How to sort the Assembly BOM?

Sort parameters:

PARTS Only

"BOM Structure"

then by

Custom Parameter "TYPE"

Then By

Part Number

Then "Renumber" starting at 1

Autodesk Product Design Suite Premium 2014 SP1 Build 222
Intel Core i7 (950@3.07GHz)
Windows 7x64 (Home) - 12GB Ram
Nvidia GeForce GTX 560 Ti (1Gig - Ver:331.65)

View 1 Replies View Related







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