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
ADVERTISEMENT
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
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
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
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
View Related
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
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
Sep 15, 2011
My company used autocad 2009 and a printing Plug-in which was made by VB,they worked perfect.But when my company uses autocad 2010,the problem rises:The printing Plug-in doesn't work.
Although I downloaded and installed the Microsoft Visual Basic for Applications Module 32bit (from URL....), the printing Plug-in can not work with autocad 2010.the commands from the plug-in cannot be recognized.
Firstly I install autocad 2010,then VBA,next printing Plug-in.Is there anything wrong?
View 5 Replies
View Related
May 8, 2012
(visual studio 2010 c# and AutoCAD 2010 )I'm trying to create a new layer with ARGB color but SetRGB doesn`t work this way.
// Color is a System.Drawing.Color
private static void NewLayer(string layerName, Color layerColor)
{
LY_Rutas = gbl_doc.Layers.Add(layerName);
LY_Rutas.TrueColor.SetRGB(layerColor.R, layerColor.G, layerColor.B);
}
View 5 Replies
View Related
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
Apr 1, 2013
i am using CAD2010 & VS2012.
start external program done and no problem with attact to process.
i set breakPoints in my program then i loaded it to autocad using netload so this breakpoint doesn't work , and my program complete all code without stop at my breakpoint .
View 8 Replies
View Related
Nov 13, 2013
We have AutoCAD 2014 and 2012 currently in our office. We have a civil file that works perfectly fine with 2014 (we usually save all files down to 2010 so all our consultants can use them). When we open it in 2012 the object enabler does not seem to work only showing empty boxes with AceeLand90 text in the lower left hand corner. The civil object enabler on 2012 is up to date and the drawing was saved down to 2010. Not sure what I am missing and why it doesn't wort to have the Acee Entities shown in 2012.
View 6 Replies
View Related
Dec 6, 2013
I am rehab a part of road, and using overlaymillandlevel 2 subassembly. I'm noted that when existing cross slope past to 6%, corridor is not build like the picture below. understand why this happenning.
View 5 Replies
View Related
Apr 24, 2011
I am trying to follow some directions and the call for a spline to be drawn onto an image. I can only find a polyline which doesnt work like I need it to. As I understand it a polyline will put a curved line as close as it can to a series of points, whereas a spline will "join the dots". I need to join the dots but with a curve not a jagged straight edge.
View 5 Replies
View Related
Aug 10, 2013
I can't use F8 key for Ortho mode in Auto Cad 2012. I checked CUI and it seems to be ok but when I press the F8 key It doesn't work. as matter of fact, after pressing F8 key, line type manager window is opened!
View 9 Replies
View Related
Sep 3, 2013
How can I catch the event when I change the container inside a palette?
View 3 Replies
View Related
Sep 20, 2012
I have a problem when I want to use a cutout.
My purpose is to get a perforated plate but Inventor doesn't show this.
Only the black color is shown and not the holes.
View 9 Replies
View Related
Aug 20, 2013
I'm attempting to copy paste a block and a line from one tab to another in the same drawing and it doesnt appear. I get
Command: _pasteclip Duplicate definition of block _Oblique ignored.
Duplicate definition of block _ArchTick ignored.
Duplicate definition of block attr_FFL ignored.
i've purged, i've audited, i've even created a new drawing and transfered the information but im still getting this problem.The strange thing is occasionally it works.also, i purge so the drawing it is clean, then i try to paste, then when purging again 1000's of blocks appear in the purge diologue box. A49285 to A55404 & a block called A$C4E2C21A4
View 9 Replies
View Related
Sep 13, 2013
I need to Veto ETRANSMIT in some cases, I stripped down my code to a msgbox that will ask if i want to Veto Or not
Imports Autodesk.AutoCAD.RuntimeImports Autodesk.AutoCAD.ApplicationServices<Assembly: ExtensionApplication(GetType(GHATransmit.Initialization))> Namespace GHATransmit Public Class Initialization Implements IExtensionApplication Public KillCommand As Boolean = False Public Sub Initialize() Implements Autodesk.AutoCAD.Runtime.IExtensionApplication.Initialize Dim dm As DocumentCollection = Application.DocumentManager Dim doc As Document = dm.MdiActiveDocument AddHandler
[code]....
Even if the e.veto has been sent to AutoCAD the ETRANSMIT command still continues.
View 2 Replies
View Related
Oct 19, 2013
I made an assembly, inserted a bolt and saved it to another file for thee modifications i make in the screw.
I try to make a section view with one of the origin planes, but it doesn't make
View 6 Replies
View Related
Sep 27, 2011
I'm using AutoCAD Map 3D 2009.
I've created a simple drawing in CAD that contains a cropped JPEG, a two toned hatched polygon in behind it two MTexts overlaying all.
I cannot view them in either normal plotting, pdf format, jpeg format and even dwf.
I've increased the ram used in the "Raster Extension Options" (2000 MB), I've set the plotting in the "Process Document" to "...In computer", I've saved it in older formats (2000/2004/2007), I've placed the drawing on both our public drives as well as the local, I've adjusted the "Raster and Shaded/Rendered Viewports" & "OLE" settings in the "Device and Document Settings" (None to Best). Not to mention the other variations in the plot menu.
I've tried everything I can think of and have read through several threads here and nothing works.
What drives me nuts about this, is that I'm able to print from a layout with no problems a 3D drawing, with 2D hatching, an extensive title block with hatching and a secondary overall viewport (minimal detail) in the main viewport area.
View 6 Replies
View Related
Mar 10, 2012
I have a 3d drawing file which I manually flattened except the section. The ground plan is at 0 Z axis.
Now I am trying to draw lines on top of it, and I cannot extend my lines. Any solution to this?
Additional question:
I also had some difficulties when I was trying to flatten the 3d model. "Flatten" command did not work. I understand Flatshot did not work because these are not solids. But why Flatten did not work? That was why I had to manually change start and end of z position.
View 6 Replies
View Related
May 16, 2011
I use the command -scalelistedit to clean the strange scale , i do purge , save , close and when I re-open the drawing the bad scales are back
View 2 Replies
View Related
Apr 10, 2013
I am using Autocad 2013 on a 64bit PC.
I saved and run the Civil OE 64Bit. All the items shown have been selected and installed.
I can only see squares when I open a drawings that comes from the civil engineers.
View 8 Replies
View Related
Jan 8, 2014
This is in reference to the DGNPURGE command for Civil 3D 2014 that can be installed from this hotfix:[URL]
I have already installed Service pack 1 for Civil 3D 2014.
I installed this hotfix on 16 computers in my office. So far the command runs successfully on only 4 computers.
Everyone in my company uses Windows 7 64-bit on computers that are identical. Once the hotfix is installed it doesn't work for everyone. It will run, but it returns this error:
"Unable to erase stroke (AcDbZombieObject): eNotAllowedForThisProxy"
That error is displayed thousands of times, I assume once for each unreferenced stroke. The at the end it says this:
"Purged 0 unreferenced complex linetype records (of 0). Purged 0 unreferenced strokes (of 19970)."
For only a few people, when they run DGNPURGE on the same exact drawing and it purges the unreferenced strokes just fine. It then says:
"Purged 0 unreferenced complex linetype records (of 0) Purged 19969 unreferenced strokes (of 19970)"
Each installation of Civil 3D was performed in exactly the same way from a deployment by one of our IT staff members. In addition, we already tried uninstalling Civil 3D and reinstalling it on one of the computers and it still doesn't work.
At the suggestion of Autodesk support I tried starting one of the computers in diagnostic mode and that didn't work either.I made sure to use the files in the px64 folder. In addition, I did try the files in the px86 folder just to see if they would work and they do not.Also, I have installed the Civil 3D 2012 hotfix for everyone and it works fine for everyone including those who the C3D 2014 hotfix doesn't work.
View 5 Replies
View Related
Apr 20, 2013
I made 2 parts, c cylinder and a plate with a hole, and tried linked the Diameter parameter in the Cylinder file.
First, i chose the Diameter, in the link dialog box, but the new user parameter that was inserted was the file name only.
Secondly, when i activate the Hole parameter in the plate file and select List Parameters in the Equation column, i see only the Hole parameter, not the new one, the Diameter, which i tried to link.
So, the link doesn't work.
But, i have, also, a general question: why do i see, in both files, in the List Parameters dialog, only the parameters which i changed their names? i expected to see all the parameters of the part, no?
View 2 Replies
View Related
May 18, 2011
I have used the wblock command to block out drawings for use by other companies and was backsaving by using the wblock browsing ellipsis.
I keep getting requests to backsave the blocks again, so this process doesn't seem to work.
View 8 Replies
View Related
Apr 27, 2010
the user is running C3D. He can only open a drawing if its in the previously open files list or he can open with Explorer. If he clicks the open toolbar or selects open from the menu or even types it at the command prompt, nothing happens. It seems to be trying to do something because the command prompt doesn't come back unless he escapes. If he instead hits enter, he gets a message that says it can't find the file specified - even though he never got a chance to specify anything. It's not FILEDIA and he has rebooted. It's also not hiding the open dialog box behind the acad screen.
View 9 Replies
View Related
Aug 22, 2012
In Civil 3D 2013 > Settings tab > General > Label Sytles > Note . . .create a new label style that will label the latitude and longitute of a location in your drawing. Assign your drawing a coordinate system. Now label a point in your drawing with the newly created Lat-Long label. Tell me if it works. I've not had any luck with it. I can do it fine in Civil 3D 2012, but no matter what I do (old drawing, new drawing, any template) it just doesn't seem to work in Civil 3D 2013.
View 9 Replies
View Related
Apr 18, 2012
why these (apparenlty) different two linetype codes give me exactly the same line when I draw them.
*ELEC_NEWLITE_U,ELEC_NEWLIGHT_U ----(N)L----(N)L----(N)L----(N)L----
A,.5,-.2,.5,-.2,["(N)L",STANDARD,S=.1,R=0.0,X=-0.1,Y=-.05],-.25
*ELEC_NEWLITE_X,ELEC_NEWLIGHT_X-(N)L-(N)L-(N)L-(N)L-
A,30,-.2,["(N)L",STANDARD,S=.1,R=0.0,X=-0.1,Y=-.05]
With the first one I intend to see few small dashes "(N)L" few small dashes an so on. With the second one I want to see one long dash "(N)L" long dash "(N)L" and so on.
They both appear as few small dashes (N)L few small dashes and so on
How do I control how many dashes will be in the line? What is the coding definition for the text portion of the line between []?
View 1 Replies
View Related
Oct 22, 2013
I'm using ACAD (2011) most of the time in 3D. I like to work that way and it goes really fast!
Now, sometimes I want to flatten my 3D drawing and show my obscured lines and make them dashed afterwards. With the flatten command and explode it works fine... but... some lines just move! For example, a block with size 100,200,100 turns into a square with size 100.9 x 199.3, even if I use the command in 100% top view!
View 9 Replies
View Related