Is it possible to auto-reattach dimensions programmatically?
I have an assembly that I'm suppressing/unsuppressing parts in and my drawing dimensions keep getting orphaned. I discovered the "Preserve Orphaned Annotations" option, which keeps them from disappearing on me. I can then reattach the dimensions via the design doctor, but who wants to click the doctor 6 times for 20+ dimensions?
I have programs that at some point or another create dimensions for what was drawn. When you have a vertical dimension that doesn't fit between the extension lines, it will either go up and to the right or down and to the left.
I can change it manually by selecting the dimension and then right click and pick Dim Text position > Move with leader.
What I want to know is, is there a way to set the vertical dimension where you want it programatically? I would like to put the vertical dimension down and to the right of the arrows if possible.
recently switched over to AutoCAD 2013 from 2012. A time svae feature I used extensively in 2012 was the auto update feature for dimensions. My workflow is to set up a base plan then xRef that plan to my various sheets where needed in viewport in paperspace. If I set my DIMASSOOC to (2) and then dimension in paperspace I was able to auto update the dimensions with any changes by simply double clicking in the viewport window then switching back to paperspace. I have spent some time researching this feature today without any answers. Would this be just a bug in the new version or is it a feature that has been disabled?
I'm using Auto Architecture 2013 and the dimensions are always coming in on layer A-Anno-Dims; which is fine for plans. I also use dimensions for reflected ceiling plans as wells as other plan options. I want to set the dimension on the current layer, but no matter where I choose the command (ie command line, ribbon, toolbar, tool palette) it comes in on the same layer. Can I turn this option off? Is there a variable that I can chage?
I am working for a company right now and we design cases. The design process involves creating a rectangle of length and width, extruding it to height and than building a case around it. the sides are 20mm offset from the item itself and the top and bottom are 27mm offset from the item itself.
Is there any way I can avoid having to repeat what im doing over and over every time i create a case. We also have standard latches and handles. The top is also standard being 60mm panel height. There is also standard for spacing between the top panels and bottom panels to allow for tongue and groove.
I am trying to use iLogic to programatically create virtual components in an assembly. These components will by used as iProperty "buckets" to hold Machine Center specific information to be exported to production planning software. This information is hierarchical in nature and cannot be (conveniently) stored in the assembly iproperties directly.
In ipart there is an option to add and delete rows when working with inventor graphically.I have displayed the iPart table and the values in gridview using VB.Net.
The user then selects the row in datagridview and clicks the button delete.When the button onclick even is triggered i want to delete the selected row on ipart table inside inventor.
im trying to programatically add a parts list into a drawing whilst programatically creating the drawing - the code works fine without the parts list code. The error its showing is 'Parameter incorect' on the line that sais PartsList.add(... In the past when ive got this error with other code it has been because ive used an incorrect parameter (e.g. decimal instead of an integer).
My error is somewhere inside the oPartsList.add(>>ERROR SOMEWHERE HERE<<<)
They contain the consultant's DWG, plus our office's initial plans in DWG, logos, fonts, etc.
I used to be able to simply Extract the zipped file and then open up the main DWG. Then the main DWG and all associated XREFs would open smoothly. Now, when I open the consultant DWG, none of the XRefs are opening and being placed automatically, and I can only see the consultant's DWG, which looks like a bunch of blips because there's no context.
How I can get things back to normal? One click that will automatically open and re-associate/re-attach all the XREFs needed? I tried attaching a zip file as an example but it exceeds the maximum allowed
I am trying to programatically update Units of Measure on a part or document through Document Settings, but the changes are not reflected. I cannot save the file, because the file is a result of import, so I want to leave it up to the user. During import, I am recognizing what type of units the import file has, and I need to impose them on the document, and immediately show. I cannot use templates. There is a similar issue when the Units of Measure are updated manually through the screen, they are not reflected.
I'm trying to programmatically toggle a hole between tapped and simple. I found the Tapped property in the object browser but when I try to use it I get a "Method 'Tapped' of object 'HoleFeature' failed" error.
Public Sub setThd(tap As Boolean, doc As PartDocument)Dim hole As HoleFeatureDim holes As HoleFeaturesSet holes = doc.ComponentDefinition.Features.HoleFeaturesFor Each hole In holes If hole.HealthStatus <> kSuppressedHealth Then hole.tapped = tap End IfNextEnd Sub
I then upgraded from Photoshop elements 9 (I think) to Photoshop elements 11. I had catalogs and pictures scattered in different places so one of the options was just too gather all of the photographs on the hard drive and start a new catalog. It worked, and so all of my pictures are under one catalog name which is perfect. The key word tag categories are listed as I had sent them up in the previous version, but none of the photos are actually labeled with their keyword tax. How can I reattach the tags to the pictures.
I have photoshop cs4 and I cannot find the Auto smart fix, auto levels, and auto contrast nor the adjustment for each that I had with photoshop elements.
I copied photo folders from my hard drive to lightroom 4 and edited them but then accidentally removed these folders from lightroom. I then imported these folders again into lightroom but all the edits I made orginally in lightroom don't show up for the individual photo's.
I backed up the Lightroom catalogue regularily. Is there any way I can reattach these edits to their respective photos'. There is lot of photo's involved.
I would like to know if there were any way to generate a drawing (.idw) using given parameters from i.e. macro, VB, or etc. What am trying to do is set up a template for a mass produced component that we manufacture that has many different variations. Usually the dimensions that changer are the OD, ID, and length. Is there anyway for me to accomplish this in Inventor Premium 2012?
Lets say for e.g. that I have 12 parts within an assembly, once auto balloon has done it’s job you notice that No. 9 balloon is blank and No. 10 balloon only shows 1 and not 10.
I'm looking for a way to programmatically check if a dll file is a AutoCAD plug-in, preferably getting the version too.The only thing I can think of is using
System.Reflection.Assembly.ReflectionOnlyLoad()
to load the dll, search thru its references looking for Acad-specific (acdbmgd etc.) get the reference version, compare it to a list....
My requirement is to programmatically add labels to the objects on a CAD 2013 drawing in one operation (as opposed to typing them in). The labels exist in an external excel spreadsheet. I am new to CAD development.
We have a bunch of dwg files. The requirement is to extract a specific list of attributes from the layers within CAD to a csv file. We are currently manually opening the dwg using AutoCAD and exporting the attributes. This has been time consuming and we need a faster process.
What options do I have to programmtically extract them?
I have a .NET plugin that loads an ArcSDE geodatabase layer programmatically using AcMapMap.LoadLayer(layerFilepath). I have been trying to programmatically remove the layer from the Task Pane using AcMapMap.GetLayers().Remove(layer), but this function is returning 'false' and is not removing the layer.
i can access the General layer properties thru the api (circled in green on image). how can i programmatically access the Attributes (circled in red). is this possible?
I export my ipt to an stl (and I make sure that I click on options before I convert and make sure the units are in mm) yet the units are still off. I am using Inventor 2013.
It seems like most people were able to solve their problem by clicking on options but even that seems like it is not working for me.