AutoCAD Civil 3D :: Part Catalog Optional Parameter Not Showing Up?
Nov 3, 2013
In 2013, I had an optional part parameter for pipes called "Velocity", and it worked fine. We use a network catalog, and I was trying to use the same part catalog for 2014, but it gave me a Runtime Part Parameter Configuration Error for the Parameter Name "VEL". So I copied the "Pipes Catalog" folder from my C drive for 2014 and pasted it to the network. I then revised the AeccPartParamCfg.xml in the AeccShared Content folder with the same information as I had in the previous network catalog.
Specifically, I added the following line in the xml file
I added the line "<AeccOptParam context="FlowVelocity"/>"
see the attached image 1-Old AeccPartParamCfg xml file.JPG to see images from the xml file.
I got the same error when I opened C3D 2014. I added an underscore between Flow and Velocity for context, and it worked! (See attachment 2-Revised AeccPartParamCfg xml file.JPG)
So C3D 2014 opens without the error. I click on Part Builder and click on RCP (formerly Concrete Pipe from OOTB part catalog) under pipes. I right click on Size Parameters and click "Add..." which takes me to the New Parameter dialog box as seen in attachment 3.JPG. It shows three of the optional properties I have added: Pipe Classification, Friction Slope, and Velocity.
I add these three optional properties and edit their configurations as seen in attachment 3.JPG. I give Friction Slope and Velocity both a range of 0 to 1000 with a default of 0.
I create a new parts list and add the part family RCP. I click to add part sizes and get the final dialog box on attachment 3.JPG. Velocity doesn't show up! Pipe Classification and Friction Slope show up, but no velocity!
I have tried deleting the 'VEL" line in the xml file, copying the "FSL" line and pasting and revising it for velocity, but that didn't work. I tried switching the FSL and VEL lines in the xml file to see if FSL would disappear and VEL would appear, but that had no effect.
I am wanting to add a field to my pipe parts to store the pipe pressure and stiffness class separately to give me the most flexiblility with my labels is this possible thru the partbuilder interface I got to here but can not see a way to add custum field. There are some extra build in fields like material are they hard coded or can you hack the xml file directly to add additional fields.
I`m looking for the iLogic code that can change one parameter (user defined) for each (ipt) part in assembly (iam)
The one below doesn`t work.
Sub Main Dim oApp As Inventor.Application = ThisApplication Dim oAssy As Inventor.AssemblyDocument = oApp.ActiveDocument For Each oSubDoc as Inventor.Document In oAssy.AllReferencedDocuments On Error Resume Next Parameter(oSubDoc, "FH") = 15.26 Next End Sub
Back in 2010, I created several optional properties in pipes for labeling purposes.
The file I modified is: AeccPartParamCfg.xml
I have migrated this file to 2011, 2012, 2013 without any issue. In 2014, I am getting a run time error for one of the optional properties and therefore that option is no longer working.
Created optional properties and run into problems in 2014? Works fine in all my previous releases of Civil 3D using the same parameter file.
Attached is the Parameter file and error at start up.
My latest battle with PSE11 is trying to access my catalog in PSE11 via the Catalog Manager but it doesn't show up in the list.
The catalog is named My Catalog 2 is located at C:ProgramDataAdobeElements OrganizerCatalogsMy Catalog 2. It is the only catalog I use and is the one that opens up when I launch Organizer. But, for the life of me, I can't get it to show up in the Catalog Manager. The only catalog that shows up is the original catalog which is at a different location and was created when I installed PSE11 on my new computer (Thinkpad W530, Windows 8). I've tried the Custom Location option and browsing to the location, but still no dice. This catalog has thousands of pictures and was converted from my previous PSE6 catalog. How do I get the Catalog Manager to find my current active catalog?
Is it possible to locate where a parameter is used in a part? Looking through every sketch to find a parameter becomes tedious when there are several dozen sketches and parameters in use.
I have been successfully able (after reading through the Users Manual) to create a new door style and a new property set definition applied to that door style. I was able to insert the new door style in a drawing and the Extended Data tab on the Properties pallet on the right side of the screen showed all the propwer data, except for one field.
I used two parameters from the Project Properies Definitions in my "custom" property set but only one of them (Number) seems to be working as expected to contain my Project ID Number within my door style. The Division ID parameter, however, does not contain anything within my door style except "NA", even though I placed a value in the Division ID field in the Project Navigator Tool Pallet.
"NA" is what shows up in the field on the Extended Data portion of the Properties pallet for the selected door instance.
As an aside, I found writting this post to be very time consuming because I had to keep refering back to the various ACA screens and pallets to be sure of using the correct names for everything to avoid confusion. Hopefully I have succeeded!
I am trying to acheive copying parameter from one part/assembly to another part/assembly document and this is what i came out with:
Private Sub CopyParamToTarget(SourceFile As String, TargetFile As String, ByRef ParamList As ListBox) 'Declares the variables to be used in this sub Dim d_target As Inventor.Document = Nothing, d_source As Inventor.Document = Nothing Dim t_transaction
[Code]....
I did another version for Inventor VBA in which is quite similar to this length as well . . .
Tried using ComponentDefinition instead but it does not have access to the Parameters list.
this code works for parts. But how to change it that it works for assembly? I would like to select a part and than change the value.
m_invApp = GetObject(, "Inventor.Application") ' Get the Parameters object. Assumes a part or assembly document is active. Dim oParameters As Parameters oParameters = m_invApp.ActiveDocument.ComponentDefinition.Parameters [code]........
I want to use a parameter in my assembly as the name of a part i'm referring to in a rule but so far I have had no luck making it work. My knowledge of iLogic is pretty limited.
I am making a configurator for a staircase and I am working on the stringers now. There will be 3 or 4 different stringers (each one is a separate part) and the configurator lets you choose things like the angle, length and height of the staircase by entering values for those in a form in the assembly. Once you are done entering the values, there will be an update button that will send all the parameters to the different parts that are in the assembly and have them change accordingly. Now, say I want the length to change. I enter a length and press update and here's my problem. To which stringer-part is it going to send the length to? I can make it send to all parts but that means that I have to write one line of code for each part and if I ever add a new kind of stringer, I need to check all the rules and new lines where needed. I would like to make this dynamic by having only one line in which the part name is the same as a parameter I have in my assembly
I can either write it like this: Parameter("Stringer1:1", "Length") = LengthParameter("Stringer2:1", "Length") = LengthParameter("Stringer3:1", "Length") = LengthParameter("Stringer4:1", "Length") = Length
But I would like to write it like: Parameter(""Assemblyparameter":1", "Length") = Length Where Assemblyparameter is a text parameter and simply the name of the part that is inserted.
When I choose, for example, stringer 3 in my form, Assemblyparameter will be Stringer3. This would save lots of time in the future whenever new parts are added.
I'm trying to run a for loop to check a part's thickness parameter within an assembly but I do not know how to access that parameter from the assembly. Once I check that the thickness does not equal 1/4" I want to assign the sheet metal rule to be user defined. Here is what I got so far:
Dim SheetMetalRule As String = BODY_GAUGE & " " & SHEET_METAL_RULEDim assyDoc As AssemblyDocumentassyDoc = ThisApplication.ActiveDocumentDim partDoc As DocumentFor Each partDoc In assyDoc.AllReferencedDocumentsIf partDoc.ComponentDefinition.Parameters.UserParameters("THICK").Value = .25 ThenElse If partDoc.ComponentDefinition.Parameters.UserParams.Value <> .25 ThenThisApplication.Documents.Open(partDoc.FullFileName, False)SheetMetal.SetActiveStyle(SheetMetalRule)partDoc.SavepartDoc.CloseEnd IfNext
I would like to add tree parameters to this part. One is a wire diameter. Another should be the length of the wire. The last should calculate the weight of the wire. Then I wish to set the mass of this wire part equal to this last parameter. Is it possible somehow?
The commented code does not work. I want to be able to open a part and change its size parameters before i open the assembly. this code will run as an external rule in a new empty file.
If i can do it without opening the part, that is even better. Test can I open a part, change a param, then close part.
Dim fname As String fname ="C:Workspacemy_progchanF_BB_L.ipt" Dim pDoc as PartDocument = ThisApplication.Documents.Open(fname,False) pDoc = ThisApplication.Documents.Open(fname)
These are just attempts to find a syntax that works. I need the method to change the parameter.
I have a multi body part that I componented into an assembly. I am trying to get the assembly parameter in this case, "Height" to drive the parameters in the part model. I think I am using the right code but I get an error when I run the rule.
Im quite new to customizing inventor and have been playing around with I-logic. I can get I-logic to enter values into existing ipt paramaters when run from a rule within the idw. I can also get I-logic to create a custom Paramater within the ipt using some copied API code, however I dont know my way around API at all yet. So...
I was wondering if it was possible to create a custom part parameter from an ilogic rule run in an idw with that ipt featured?
I have an assembly inside of Inventor Studio. One of the parts inside of the assembly has a parameter that I would like to animate. When I select the "Parameters" function within the "Animate" tab on the ribbon, I get an error:
"There are no favorite parameters defined."
This worked fine when I tried the same thing with only the part inside of Inventor Studio, but not when the part is included inside of an assembly.
I have an iLogic template part that has a multi value parameter. In this case the product code can be selected from a list of 4 codes. In futre we may need 5 and the 5th may need to be available to older parts.
I would like to avoid having to add the 5th as an option to every part we've ever made when the 5th becomes required.
I'd like to have the list of codes stored in an external file (Possibly an xml) and the template part reference that file to acquire it's list of available codes. That way I can add codes to the xml and all the files will have their list of available codes updated.
I have a flange that I use iLogic and the parameters list to update the different styles. My problem is that my flange won't update until after I hit save and update. My other square flange is not this way. As soon as I change the parameter in my square flange it immediately updates. Is there anyway I can get my round flange to update immediately like my square flange? I attached pictures below.
I'm using the "Part Number" parameter inside a block of text in my drawing, but when I export it to AutoCAD DXF 2010 format, the text in the exported file shows up as "<PART NUMBER>", instead of displaying the actual part number.
I have a part that refuses to display properly in orthographic drawing views. The image below shows how it renders in a drawing. The drawing view to the left is the problematic one, the iso view to the right is just to show what the part actually looks like.
when the drawing view is updating (with the green brackets around it), the lines show just fine (see below). But they disappear as soon as the drawing is fully updated.
I have attached the offensive part and the drawing shown in the images. I tried turning on tangent edges and interference edges, but no luck.
An IDW view is showing a second iteration of a part instead of one of each. I have tried turning the visibly on / off in the ipn. I have also toggled the associativity on / off. The view shows the correct image during its preview, but when the view is done being created, it shows the wrong part again.
I am using Inventor 2014. I have a sketch on a part that does not show up when I put the part into an assembly. Any way to make the sketch show up in the assembly? It is a 3d sketch that is projected to a surface.
I am working on the part builder tutorials for AutoCAD Civil 3D 2014. Every time I click "Save Part Family", I get the error message "Error Saving XML File".
I have imported images from my Canon 5D markIII and somewhere along the way, I've made an error in the settings. The images are on my computer but not showing up in a folder in the LR4 catalog...how do I get them into the catalog? When I try to find them, they are all greyed out and I can't move them - a message says that it seems that duplicates are already on the computer (or something like that).
I go to the Parts List, Insert a Custom Part, click Apply, Click Ok and nothing shows up. I go back in to Edit the Parts List and the Custom Part is not there at all.