Quantcast
Channel: Keith.Brown Tracker
Browsing latest articles
Browse All 198 View Live

--- Article Not Found! ---

*** *** *** RSSing Note: Article is missing! We don't know where we put it!!. *** ***

View Article



--- Article Not Found! ---

*** *** *** RSSing Note: Article is missing! We don't know where we put it!!. *** ***

View Article

Re: getting object type of entity inside a foreach loop looking through an...

I always use this when querying object types with objectids If (objectId.ObjectClass.DxfName == “MText”)You can get the dxfname of any entity by using the LIST command.

View Article

Re: Show a part of drawing in winforms, autocad plugin

Take a look at this blog.  I have not tried it personally but it might/should work.  Make sure to read all of the...

View Article

Re: How to Save UserData into DWG File?

User data does not persist between sessions.  Norman did some tests and verified this.https://forums.autodesk.com/t5/net/does-document-userdata-persist-over-acad-sessions/td-p/2569077My preferred...

View Article


Re: Setting an object's classification definition

You should be able to modify this to work with different styles.  I only needed it for mvparts.  I should move it up the object chain to work with multiple types of MEP/ACA parts.namespace...

View Article

Re: Disabling ACAD UI During GetPoint

** THIS WON'T WORK FOR YOUR USE CASE AS IT WILL DISABLE THE ENTIRE FORM ** I use the following code to disable the AutoCAD main form but if you are inside a command then it will stop you from...

View Article

Re: Best AutoCad plugin testing framework for 2024

@CADbloke I had this running in AutoCAD 2023.  Anything stopping it from running in AutoCAD 2024? 

View Article


Hide and Show the Property Palette

Is there anyway in the AutoCAD API to 1. Determine if the property palette is open, closed, or hidden?2. Close the property palette.3. Open the property palette.

View Article


Re: Hide and Show the Property Palette

I am not sure how that helps me?  It does not do #1 which is most important to restore the UI to its original condition and it is not .Net API.  It is just a couple of commands to close the property...

View Article

Re: Hide and Show the Property Palette

@SENL1362 wrote:You can't call PropertiesClose before running you're script(s)?I cannot get it to work.  I would love someone to show me how at the press of a button on a palette, you get the command...

View Article

Re: Hide and Show the Property Palette

My original question did not require any code.  My guess is that you cannot directly inspect the property palettes state or open/close it from .NET or at least no one has shared how to do it yet.My...

View Article

Re: Hide and Show the Property Palette

I woke up this morning to lots of replies so I will need some time to go thru them but a couple of quick responses.I can use the OPMSTATE variable and do some quick refactoring with the Idle event and...

View Article


Re: Hide and Show the Property Palette

@ActivistInvestor wrote:I hate repeating myself but.... I am not really sure why you feel you need to repeat your self or even mention it on the forum.  If you reread my last post you can clearly read...

View Article

Re: Hide and Show the Property Palette

That is one of the combinations that I have tried many times.  Is it possible that it is not working because there is no other code in my HidePalette method after the ExecuteInCommandContextAsync...

View Article


Re: Hide and Show the Property Palette

@ActivistInvestor wrote:Keep in mind what I mentioned above, about showing/hiding a docked PaletteSet, which will cancel any running command or script.Yes, thank you. For anyone else that comes across...

View Article

Re: Hide and Show the Property Palette

Just one more quick question,  Will the code you shared need to be changed for future version of AutoCAD?

View Article


Re: PSD Formula using ElseIf not working

Yes, otherwise IsHorizontal will always be false.

View Article

Re: Editor.Command("_.WALLBODYCONVERT", entlast, "_Y", point3D1, point3D2,...

I know this is an older post but I have had success using AutoIt to control windows that I do not have access to.  I have used it in the past to automatically close windows or click OK buttons to close...

View Article

Re: .NET Framework 4.8 unusable on ACAD 2025?

I think you will probably find difficulty when you discover that you need to support both versions.  2024 and prior as well as 2025.  

View Article
Browsing latest articles
Browse All 198 View Live




Latest Images