AutoCAD .NET :: PaletteSet Expands UserControls

Nov 21, 2013

I just spent ages perfecting a series of windows forms dlls (not wpf or anyting, just normal user controls from VS2012). they look, compile and test fine. but when I add them to an autocad PaletteSet they stretch out 57 pixels and move buttons into textboxes and such....

is this normal? my docked control is not 407 wide....

it was 350 the entire design phase! and if it added 57 it would be one thing but it "stretches" half the controls and leaves the rest so they overlap!

View 2 Replies


ADVERTISEMENT

AutoCAD .NET :: How To Add Paletteset For 2013 C#

Jul 17, 2013

I cant find Autodesk.AutoCAD.Windows.PaletteSet as My Program,

im import AutoCAD 2013 x64 Directorys
accoremgd.dll
acdbmgd.dll
as my source.

Program is using c# 4.0

// this is my class source.
using ACAD = Autodesk.AutoCAD.ApplicationServices.Core;
using Autodesk.AutoCAD.Runtime;

View 2 Replies View Related

AutoCAD .NET :: Scroll Bar For Paletteset?

Jan 6, 2013

I created an an app that uses a paletteset, and displays an usercontrol in it. I want to add a scroll to the paletteset. As when I resize it for editing the dwg file, The paletteset data below cannot be viewed without a scrol bar. get the scroll bar.
 
Autodesk.AutoCAD.Windows.PaletteSet m_ps = new Autodesk.AutoCAD.Windows.PaletteSet("Object Data");UC uControl = new UC();m_ps.Add("Object Data", uControl ); m_ps.Visible = true;
 paletteset properties does have any properties related to scrollbar.

View 3 Replies View Related

AutoCAD .NET :: Set One Palette On Paletteset On Top Through Code?

Apr 11, 2012

I have a paletteset which contains multiple palettes. How can I set one of the palette on top through code?

It is something like set current tab in tab control

View 1 Replies View Related

AutoCAD .NET :: Paletteset MinimumSize Doesn't Seem To Work When It Docked

Oct 3, 2011

I created a paletteset with MinimumSize, it works fine when the paletteset is not docked to anywhere. However the MinimumSize doesn't seem to work at all. I tried to dock it to left, then I can drag the edge to really narrow.

View 1 Replies View Related

AutoCAD .NET :: PaletteSet Changed Control Size And Layout

May 27, 2011

The PaletteSet changed control size and layout. It's different from the status in VS.What's the reason?

View 7 Replies View Related

AutoCAD .NET :: Getting User Input Error After Showing A Paletteset

Aug 12, 2011

I have got a problem about getting user input. In a function i am first getting a selection from the user by editor.getselection(...)

then i show a palette set with my user control in the same function. everything is fine so far.

but after showing paletteset i try to get a string from the user by editor.getstring(...) in the same function but statement continues as i never request it. when i check the PromptResult status it is equal to cancel.

i mean

Transaction acTrans = null;
Document acDoc = Autodesk.AutoCAD.ApplicationServices.Application.DocumentManager.MdiActiveDocument;
Database acCurDb = acDoc.Database;
acDocLock = acDoc.LockDocument();
using (acDocLock)
[code].........           

i tried to lock the document but it doesnt work either. when i comment out "showpalette(true)" it works correctly. i realized that if my document window s state is not WindowState.Maximized then my code works just fine but if it is WindowState.Maximized it does not work.

View 4 Replies View Related

Illustrator :: Outer Glow Effect Expands On Its Own After Saving

Nov 11, 2013

Since upgrading the AI CC (17.0.0), when applying an outer glow effect to objects, the effect sometimes expands its appearance involuntarily after saving and closing the file. The outcome is similar to selecting "expand appearance" from the Object menu.
 
When the saved file is reopened, the outer glow effect has become is its own object, grouped with the original shape. You can no longer adjust the effect in the Appearance panel.

View 10 Replies View Related

AutoCAD .NET :: Finding Out When Custom PaletteSet Is Closed Using Code Crash

Jul 3, 2012

I would like to do something when my paletteset is closed. I took the C# code from here

[URL]

I modified the code to VB.net

Dim WithEvents ps As Autodesk.AutoCAD.Windows.PaletteSet <Autodesk.AutoCAD.Runtime.CommandMethod("psTest")> _ Public Sub PSTest() If ps Is Nothing Then ps = New Autodesk.AutoCAD.Windows.PaletteSet("psTest")

[Code]...

My code crashed. If I catch exception it is eInvalidInput exception. I don't know what to do as it is a simple code segment I don't know hot to fix it.

View 9 Replies View Related

Photoshop Elements :: Image Layer Expands To Background Dimensions?

Jan 10, 2014

When I create an image layer (say 1.5 x 1.5 inches) and when I set that image onto a background (say 2.5 x 2.5 inches) the image expands to the larger background size. 
 
Why? Or what am doing wrong that would cause this to happen.  I recently upgraded from PSE 9 to PSE 12.  This was never an issue with PSE 9.

View 1 Replies View Related

AutoCAD .NET :: Catch Event Of Paletteset While Changing Container Inside A Palette

Sep 3, 2013

How can I catch the event when I change the container inside a palette?

View 3 Replies View Related

After Effects :: CC - Timeline Expands To Project Length After Full Screen Preview?

Mar 26, 2014

This seems to have only started happening recently, and it's a pain. After you preview an effect in full screen, the time navigator brackets are pulled to the very start and end of the video. You return from a fullscreen video preview to see your timeline extended over the whole duration of the project.
 
Is there some way to turn this off? I frequently work on small sections of a project, regularly watching full-screen previews to check how various changes look, and after the tenth or so time what starts as a minor irritation becomes completely infuriating. It seems like something easily fixed, but I've had no luck finding out how.

View 2 Replies View Related

AutoCAD 2010 :: Error / A Software Problem Has Caused Autocad To Close Unexpectedly

Jan 16, 2013

When i use AutoCad 2010, that is on a wind 7 OS, appear a message that indicate the next.

A software problem has caused autocad to close unexpectedly.

View 1 Replies View Related

AutoCAD LT :: Hatch Missing In Transparent Zoom In Autocad 2014

Oct 2, 2013

In Autocad 2014 when I use the zoom or pan command transparently some information disappears (hatch) and only reappears when I finish the command. This did not happen with version 2009.

View 2 Replies View Related

AutoCAD 2010 :: AutoCAD Could Not Open This File Or Could Not Parse A Fle Of This Type

Mar 22, 2013

I'm trying to attach a hyperlink to a PDF but I keep getting the error message " AutoCAD could not open this file or could not parse a fle of this type".  It also won't link to a Word document or speadsheet, but will link to a web page and a notepad text file.

View 3 Replies View Related

AutoCAD LT :: DWG To PDF

Oct 3, 2011

Why when making PDF out of DWG, many lines comes out vague?

It can be part of a line/block/text.

It shows only on the screen and not on paper in case I print it.

View 1 Replies View Related

AutoCAD LT :: Use DWG To PDF

Apr 2, 2012

I run ACAD LT 2010 on a Windows XP machine and also a Vista Laptop. I have tried to print the same drawing on both machines using the DWG to PDF facility with in AutoCAD. The drawing is a third party drawing in as much as I didn't draw it although it is an authentic ACAD DWG.

I get the same message but referring to different fonts - the message reads on the Vista machine:

"Cannot find or create the font "ArialMT". Some characters may not display or print correctly"

On the Windows XP machine it reads:

"Cannot find or create the font "Tahoma". Some characters may not display or print correctly"

The message seems to be generated by Adobe Reader.

View 6 Replies View Related

AutoCad :: How To Let It Use More RAM

Mar 8, 2012

My computer has 8 GB of RAM. However my autocad is not faster than a computer with 2 GB of RAM. I have Windows 7. Is there a way I can allocate more RAM to Autocad to make it run faster?

View 9 Replies View Related

AutoCad :: What Does XID Mean

Dec 8, 2011

I downloaded a titleblock to look at and one of his layers for the lines that made up the bounderies of the titleblock, was placed on the "XID" layer. It was interesting to see that the lines had the properties of Polyline, although to my eyes it looked like a line segment.

what XID stands for in this case?

View 4 Replies View Related

AutoCAD Map 3D :: Import SDF To DWG?

Jun 23, 2012

I have some problem with import SDF to dwg. Geometry in SDF is curve with mixed linear and arc segments.

But the result is not my expected result. (see image below) . All arc segments was imported not correctly.

I'm expecting my data is correctly in the sdf files, but some import mechanism  not work properly.

When I make connection through  FDO it's work ok.

View 2 Replies View Related

AutoCAD Map 3D :: GEO MAP Command

May 6, 2013

I've been attempting to use the GEOMAP command to bring satellite imagery into one of my maps.  I have followed theses steps:

1.  Signed into my Autodesk360 account.
2.  Assigned a coordinate system (SC83F) to my map.
3.  Entered the GEO MAP command and selected "A" for aerial image.

Following these steps, I am unable to display the aerial imagery.  

View 1 Replies View Related

AutoCAD LT :: PC3 And PMP Errors

Apr 12, 2010

I've created system printers for our office using the "Add Plotter" application of AC. I've filtered paper sizes for the different printers. However, these filtered paper sizes are not the same for all workstations.

E.g. If I filter out all paper sizes and only check ISO A0 and ISO A1, on some of the workstations there are other paper sizes available. How do I avoid this from happening?

View 8 Replies View Related

AutoCAD LT :: How To Make PDF Out Of DWG

Oct 10, 2011

How to make PDF's which were made out of DWG"s less vague?

Same lines can come out looking good or vague. Sometime part of blocks appear vague while the other side appear good.

View 4 Replies View Related

AutoCAD 2013 :: DWG To DGN

Nov 13, 2012

Using 2013, I have a drawing created in that other software ( Micro station). I opened it in autocad, and did some work to it.

View 2 Replies View Related

AutoCAD VB :: Plot To PDF

Dec 20, 2012

I have created a batch routine that plots PDF’s of a list of drawings.  Everything is working ok. It opens the drawing, turns on and off layers, and then plots to PDF.  The plots come out fine, but after each plot, it opens the PDF.  This would not be a problem for one or two drawings, but when doing a few hundred, it becomes quite frustrating.

I can see how to change this using the plot dialogue box, selecting DWG To PDF.pc3 and editing the custom properties. But no matter how many times I change it does not save, and will open the PDF.

I have found a work around by killing the process Acrobat.exe at the end of the plot.  But is there a better way of doing this?

View 1 Replies View Related

AutoCAD Inventor :: DWG To STP

Jan 7, 2013

we modeled prototypes of trains (locomotives) in 3dsMax, these models will be used to produce molds and thumbnails of these, you must give the producer STP files, max does not export these files, and we have exported in various formats supported by some programs if exported STP, eg Inventor, we have exported files are STL, oBJ and DWG, so far so good, all save the parts or layers without problem.

The problem comes when exporting from Inventor to STP, nothing happens, the STP file is as if you were empty, there is nothing ..

I have attached the DWG file, if possible, have 17 CAD models for export to STP. 

View 2 Replies View Related

AutoCAD .NET :: Cannot Set MdiActiveDocument

Aug 22, 2013

I cannot seem to set the MdiActiveDocument synchronously.

I have code inside a <CommandMethod> that creates a drawing and then writes any error information to the command line.  Since this is started in one document, if  a fatal error occurs and the drawing does not get created, that message goes to the original document's command line.

In the case where a drawing gets created with errors (say partial success), I would like the errors to appear in the new drawing (new active document's) command line.

The behavior when setting Core.Application.DocumentManager.MdiActiveDocument is peculiar.  The application can hang for a long time if you do not click anything.  If you click the document (from the taskbar or clicking on the window), it breaks out of the hang and continues to execute, but the active document is not changed.  The MdiActiveDocument still points to the original document.  You can also see that it does not change because doc.IsActive = False.  This state could be because when you clicked, you really did make the original document active (again? still?).  To break the hang, I think the click has to be on the original document.

On an example like [URL] ... there is no action taken after MdiActiveDocument is set, so I assume that it is actually set when the command is completed, not synchronously.  I am not absolutely certain of this, though.

 <CommandMethod("AUTODRAWPN")> _
 Public Sub DrawPartNumber()
 Dim ed As Editor = Core.Application.DocumentManager.MdiActiveDocument.Editor
If IsNothing(drwr) Then

[Code] ....... 

Is there a way to set the MDIActiveDocument?  Should it be hanging like this?  Should I be looking at an altogether different way to handle this?

Trying to use doc.Editor without setting the active causes a eNotApplicable error, so that is not a way out.

I am using AutoCAD 2013.  The following link implies that this could be a 2013 specific problem, but I do not know that for sure. [URL] .....

View 1 Replies View Related

AutoCAD LT :: LT Keeps Shutting Down

Jun 12, 2012

I downloaded the LT trial version with a new computer with Windows 7 Pro and LT keeps shutting down.  If I close a file the whole program shuts down or sometimes it just randomly shuts down.

View 2 Replies View Related

AutoCAD VB :: DWG To PDF Without Program

Aug 29, 2013

The purchasing group in my company need to batch plot autocad dwg files to pdf files to send to vendors. They do not have AutoCAD on their computers. I have done searches on the internet for programs, but I am leary of donwloading them. If I use the AtoCAD API in a program can I make it so they don't need AutoCAD to plot?

View 2 Replies View Related

AutoCAD Map 3D :: Plotting To PDF

Feb 25, 2011

I have plotted to PDF before, but on this particular drawing I'm losing some part of the drawing. 

Two viewports at different scales.  The larger viewport (zoomed in) plots perfectly.  The smaller viewport (zoomed out) only plots the CAD layer (green line), but does not plot the Shapefiles (green dots and gray lines).  Shapefiles are on their own layer, that layer is turned on. These are the only three items in model space; the black text and arrows are in paper space on the layout tab and render correctly in the large viewport. 

Is it a scale issue with the shapefiles in the small viewport or a plotting issue?

View 9 Replies View Related

AutoCAD Map 3D :: Connect JP2 Via FDO

Mar 7, 2012

I can connect to jp2 aerials via FDO but the images do not come in. They work fine with raster insert, why not FDO?

View 3 Replies View Related







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