AutoCAD .NET :: Outputting DXF File From Active Drawing?
Oct 18, 2012
I have several closed ployline shapes in a particular layer, I need to know a way to:
a) pick all the entites on that layer
b) export to a dxf file each individual entity on the layer (yes, each entity saved to a separate dxf)
I am almost positive I can answer 'a' on my own using an object collection and a conditional statement? I am really more interested in how to export an entity from current open drawing to a dxf file in .net
View 1 Replies
ADVERTISEMENT
May 17, 2012
How to save active drawing file with filename..
View 9 Replies
View Related
Mar 29, 2013
I had an action set up in CS5 that I used to create different size versions of a file.It involved pasting a full size image into PS, then running the action to create two smaller sizes.
I updated to CS6 today, lost my action , and whenever I create the same action in CS6 instead of overwriting the existing set of .jpgs in the target folder, it's creating html files!
View 9 Replies
View Related
Nov 15, 2012
using dwgDB.saveas on a drawing database that the user has open but NOT current on his screen?
For example, the user has DWG1 open and DWG2 open and currently active, my program modifies DWG1 (inactive) and when the program tries to run...
dwg1DB.SaveAs(filename, true, DwgVersion.Current, dwg1DB.SecurityParameters)
it errors with an elock violation, even though I lock the document with dwg1DOC.LockDocument before I try to save and unlock it after.
The same code runs fine on the current document so at this time I just ended making the other document current just to save it then switch back to previously current document.
What am I missing to save a document that is open but not current?
View 3 Replies
View Related
Feb 28, 2012
In the last couple of days civil3d has started not opening a drawing as the active drawing
View 1 Replies
View Related
Jan 7, 2014
I want to insert a stored block into a drawing (model space). Below is the code I'm using and I get
Runtime Error '5': Invalid procedure call or argument.
Sub Dummy()
Dim COESTD_obj As AcadBlockReference, InsPtStd(0 To 2) As Long, COESTD As String
COESTD = "C:JimHYDROCAD_DwgsBlocksZ_COE_STDS.dwg"
InsPtStd(0) = 0#: InsPtStd(1) = 0#: InsPtStd(2) = 0# 'Set insertion point as 0,0,0
Set COESTD_obj = ThisDrawing.ModelSpace.InsertBlock(InsPtStd, COESTD, 1#, 1#, 1#, 0#)
End Sub
View 2 Replies
View Related
Nov 6, 2012
I have written a program that basically replaces certain mvblocks, tags actually, in several drawings, the purpose being to change the displayed label of an object.
I have just 2 of the 3 affected drawings open and just 1 of those 2 is acually active at the time the program runs.When I run the program the tags in the open and active drawing get replaced fine.
The tags in the open but NOT active drawing appear unchanged but a "regen" causes them to go away but the new tags do not appear, if I save, close, and reopen the drawing, as the drawing is reopening I see the new tags but the label text is offset and just prior to the drawing being fully open (back at "command" prompt) the tag text does move to its correct location. a save now saves the drawing correctly so on subsequent openings everything is correct.
The tags in the unopened drawing, when I do open it, once again, I see the new tags but the label text is offset and just prior to the drawing being fully open (back at "command" prompt) the tag text does move to its correct location. a save now saves the drawing correctly so on subsequent openings everything is correct.
Regardless of the state (open, unopen, active, inactive) I am running each drawing through the same subroutines to delete the old tag and put on the new as I am passing the drawing DB to the subroutines, the only difference being that I am putting a document lock on the open drawings documents before I start the subroutines.
I do have the CommandFlags.Session flag set on the command that launches the program. So, what am i missing that the new tags are not showing up in the open but inactive dwg until the drawing is saved and reopened, and then in both, open and inactive and the unopened dwg the label text appears offset until the dwg opens completely?
View 2 Replies
View Related
Dec 16, 2008
I'm new to the style library and how to take an existing drawing that was created on one standard, and changing it to another standard I just created. The new standard has different dimension styles, text, and layers. I've added all the styles to my style library and I've set the new standard to the active standard in both the styles and standards editor and the document settings. If I create a new view, it comes in on the new standard, but the existing views are still on the old. How to I get the existing views on the new standard?
View 2 Replies
View Related
Feb 27, 2013
I have two tables on a drawing one showing a parts list the other changes to dimensions.
The table to show the dimension changes is a configuration table pointing to an ipart.
iLogic is used to update the ipart but you have to right click to update the Active Member in the ipart to see the drawing update.
Is there a way to automate the 'update active member'? (on the ipart table - this does update the drawing)
I just have the one row in the table, it's purpose was to pass the values onto the drawing (as the part resizes I didn't want the dimensions moving so opted to tabulate them) - hoping they would update!
or
Is there a way to have a table update parametrically i.e. I've tried .csv as a source to the table but can't force an update. This way I could scrap the ipart & just import the values to a table.
The table also includes some txt comments which change with the ipart properties.
View 1 Replies
View Related
Sep 2, 2011
I am trying to have one drawing with B size and E size sheets I am trying to get the border, title block and standard to change when the sheet format changes. I can get it to work when I run the rule but have hard time find information to just change when sheet format changes. And I can't find anything or I should say a sample of how to. I think I found the code just don't know how to make it work. Here is what I have so far.
SubMain()
IfActiveSheet.Size="E"Then
ActiveSheet.TitleBlock="G&T (E)"
ActiveSheet.Border="G&T Border (E)"
EndIf
IfActiveSheet.Size="B"Then
[code].......
View 9 Replies
View Related
Jun 25, 2013
We are using AutoCAD Architecture 2013 on machines running Windows 7. When multiple AutoCAD drawings are open on most machines in the office the icon in the Windows Toolbar shows multiple stacked AutoCAD images, and when you hover over those icons, all of the open drawings appear in thumbnail across the bottom. (This is a very nice feature!)
Unfortunately one machine in the office is not doing that with AutoCAD. That machine will show multiple icons and thumbnail previews for PDFs, Word files, etc., but not AutoCAD. Is there a setting that can be changed to make the thumbnail drawings for ALL open drawings appear when hovering over the icon in the Windows Toolbar? (That computer will show a thumbnail preview of the active drawing, but not all open drawings.)
View 2 Replies
View Related
Feb 20, 2013
I create a drawing of an iPart, while doing so I have the iPart model open in the background. When placing a view on the drawing the active factory member is the default option, I have a bad memory so forget to tell Inventor that actually I would like to use a specific iPart member in this particular drawing view. I then spend a long time laying out and dimensioning the drawing. When complete, I create a second sheet and copy all information from sheet 1 onto sheet 2. I then double click on the main drawing view and change the model state to an alternative factory member. At this point I realise that the drawing on sheet one is based on the active factory member and start swearing.
The result of changing to a different member when the existing drawing is based on the active member is that ALL DIMENSIONS DISSAPEAR FROM THE DRAWING AND HAVE TO BE PAINSTAKINGLY REPLACED. At this point I will usually REDRAW SHEET 1 so that further sheets can be created quickly in the future by selecting an alternative factory member.
can I change the software defaults somewhere in the setup to prevent the 'active factory member' being displayed as an option in the first place?
View 6 Replies
View Related
Nov 11, 2011
I want to convert active dwg file to jpg file. How to do ?
View 4 Replies
View Related
Jul 30, 2012
I write plug-in for AutoCAD in C# and I have a question. How I can change dws-file in active document?
I know how it's doing in LISP, but not in C#.
View 1 Replies
View Related
May 30, 2011
Is there a way to copy just one item out of an x-ref? I am coming from MicroStation where the X-Refs acted alot differently. The only thing I miss so far is just being able to copy one item from a x-ref into the active file.
View 9 Replies
View Related
Mar 27, 2013
Trying to create a bit of code that when the 'OnNew Document' event is fired the code checks for a particular Custom Property. Depending on what the Custom Property is set to a form is then fired with relevant text to point the user to a specific area in the workspace. Al this works ok.
But if they press cancel i need the code close the activate 'Part1' which inturn then allows the user to select 'New' to begin again.
I have tried various scenarios but the main problem is that Inventor then crashes!
PublicSub applicationEvents_OnNewDocument(DocumentObject As Inventor._Document, BeforeOrAfter As Inventor.EventTimingEnum, Context As Inventor.NameValueMap, ByRef HandlingCode As Inventor.HandlingCodeEnum) Handles applicationEvents.OnNewDocument
[Code]....
View 1 Replies
View Related
Oct 16, 2012
I have an issue with opening assembly files as they always open as Master not Last Active.
Have I missed an option on another tab or something else?
64-Bit Inventor Professional 2012
Build 219, SP2
View 8 Replies
View Related
Mar 19, 2013
We have had this issue now for a couple years and don't know what is causing it. We are using vault pro with admin set single project file. A user can work for months using correct.ipj, then randomly at 10:42 they will notice the active project was been changed to some other temporary project location "c: emp.....". Then it will happen to different users at different times. I cant seem to find any correlation to anything. I can only imagine that it is somehow triggered from the vault addin.
We are inventor 1012 and vault 2012 pro.
View 9 Replies
View Related
Aug 7, 2013
I am having an issue when opening and saving files is very slow when I have a project active in the Project Navigator.
If I have an active project, and I open a file via Project Navigator or Windows Explorer, the process hangs for 15-20+ seconds at the 'Opening C:xxxxxxxxxxxxxxx.ac$' point, where it is creating the temporary file.
If I 'Close the current project' in the project browser and open the same file via Windows Explorer, the process takes less than a second.
View 8 Replies
View Related
Mar 7, 2014
Since Edge only has rectangles and ellipses built in as available shapes, how to I/we work with polygon shapes and active mouseover areas INSIDE of these shapes and non-active mouseover areas OUTSIDE of the shapes?
Problem/symptom: when I import a polygon, be it any file format from from Photoshop or SVG from Illustrator, a rectangular border/background (transparent) gets applied, leading to this rectangle defining the mouseover area of the shape - and not the shape itself (be it a star or whatever).
WHAT I WANT: the very shape defines the mouseover area. How do I achieve this?? See examle below:
WHAT I DON'T WANT: how is is now:
View 4 Replies
View Related
Oct 24, 2011
Is it possible to get the list of all the fonts and colors used in the active illustrator document (.ai file) ?
if yes then how?
View 6 Replies
View Related
Jul 22, 2013
I've got this problem where my text is dissapearing when I export a .PDF from PS. Some of the text dissapears and some is white with a thin outline (although it should just be solid black). I've read other things online from people with this problem but none of the solutions work for me. If I rasterise the text it works - but i don't want it rasterised.
- I'm not using Faux Bold or other effects
- I've tried with different fonts including Arial and Helvetica
- Tried changing the colour slightly
- Tried changing opacity slightly
- opened a new document with only text and it still does it.
I think it is only happening when i use a text box (dragging the text tool to make box rather than a single click)I've got Creative Cloud and PS is up to date. Working on a rMBP OSX10.8.4
View 1 Replies
View Related
Mar 31, 2013
Corel VideoStudio Pro X6. The file is made in H.264 Video M2T ( large ) , in the DVD - mismatch-Sound !!!. If an MPEG-2 , the output DVD OK !?
VStudio X6 : there are 2 of the same file , 1 made in H.264 Video M2T (20000 bit) ( 1 hour ), 2 to MPEG-2 Video M2T (20000 bit)( 1 hour ) . When recording to DVD - 1 file ( H.264 ) - in DVD is sync sound , if 2 ( MPEG-2), then the DVD is fine . Why do so with the format - H.264 Video M2T ?
View 1 Replies
View Related
Dec 22, 2011
Just installed x5 and the only thing is abouit outputting spot colors. I check the box to output seperations, uncheck all the colors I don't want to print - but I still get all the colors printed out, including my page color. I have made SURE that I have only checked the steps I want printed and still get all of the colors printed!
View 5 Replies
View Related
Dec 8, 2012
I'm outputting DV-AVI files filmed on a Sony A1 in DV CAM as MPEG-4 videos for upload to Vimeo.The projects and source files are:
PAL (25 fps)
Microsoft AVI files
24 bits, 720 x 576, 16:9, 25 fps
Lower Field First
Matrox DV/DVCAM -- type 2
PCM, 48.000 kHz, 16 Bit, Stereo
I have been outputting to create movies with the following properties:
MPEG-4 Files
24 bits, 1280 x 720, 25 fps
Frame-based
H.264 Main Profile Video: 5000 Kbps
44100 Hz, 16 Bit, Stereo
MPEG AAC Audio: 128 Kbps
I'm using VideoStudio Pro X5 trial version.
Should I in fact select / have selected Lower Field First or is Frame Based OK? Is it safer / more reliable to select Lower Field First if that's the format of the source files? The videos seem to look OK on my laptop - don't know about Vimeo.
View 14 Replies
View Related
May 19, 2008
when im out putting html from photoshop after slicing im getting these odd spacer.gif slices created but cant trace them any where to the psd they just dont exsist.
they look like this currently in the code...
View 2 Replies
View Related
Apr 21, 2013
I recently upgraded to PSE11 but the installation did not create the service Adobe Active File Monitor V11. I followed the forum thread [URL] .... to completely uninstall, remove residual files, reinstall from DVD. Still the service DOES NOT EXIST.
I followed the Elements Village thread on "Watched Folders Issues" to manually create the service. But when I attempt to start it, I get an error that says "Error 1053 The service did not respond to the start of control request in a timely manner."
I'm using WinXP Media Center Ed. SP3.
View 4 Replies
View Related
Oct 24, 2011
I love the inclusion of ProDAD in Corel X4 Ultimate. Some shots we would have binned have been effectively ressurected!
Only gripe is that we make Pal 50i Blurays and I hate having to render things twice.
So for that reason we normally output at 50i and simply add to Nero and it can very quickly author and burn these files with almost no rendering.
We cannot output at 50i with ProDad Mercalli inserted onto our clips. It will certainly render the timeline but it comes up with a horrible darkened screen over the shot which has had Mercalli added to it. It says that the clip needs to be analysed again. The clips have already been analysed and we have no problems rendering at 25p. Is there a work around for this or our Corel addressing this issue? I know that Mercalli in other video editing software has the ability to manipulate interlaced shots but I thought it wouldn't matter for rendering.
View 5 Replies
View Related
Aug 16, 2011
I created a stereoscopic timeline in Smoke. That seems to work so far, but now I want to output it in full resolution on a 3D TV (Samsung). The TV only supports HDMI in.
I'm working on a Smoke for Mac 2012 with a NVIDIA Quadro 4000 (which has 1xDVI and 2x Display Ports). And we have the AJA Kona 3G (SDI out and mini HDMI). We have a reference monitor which is connected via SDI and that works.
We tried to connect the Mac via mini HDMI to HDMI. We did get a signal from Final Cut Pro, but we didn't get a signal out of Smoke.
I tried all kinds of settings, but there is no way of outputting an image from Smoke. What options do we have, so we can get a 3D signal out?
I heard that Smoke for Mac doesn't support Dual SDI out. Is that right? Would it work to simply buy a converter from SDI to HDMI? Would I still get full res HD out then?
Smoke 2012 SAP2 SP4
and
Smoke 2013 SP2 (Smoke Classic Keyboard Shortcuts)
Mac Pro 4,1
OS X 10.6.7
12 GB RAM
NVIDIA Quadro 4000
14 TB RAID (Areca)
View 3 Replies
View Related
May 23, 2012
After using Refine Edge in CS5.5 and removing the background from an image, I set it to output as a new layer mask. Next I place the image on top of a background and see that it needs some additional adjustments. How do I now get back to the Refine Edge window where I can see the changes I made previously and modify some of the settings? When I reopen the Refine Edge window the settings from before are no longer there.
View 1 Replies
View Related
Jun 21, 2013
Setting up a tabulated ipart drawing template. Which is better...one drawing file with a table or individual drawings for each tabulation? Also does one method work better than the other when introducing vault?
View 1 Replies
View Related