NirantarVidyarthee Posted April 23, 2012 Posted April 23, 2012 I want to write my own hatch command. (AutoCAD 2011) In that, I want user to create the hatch manually and then process the hatch object created by the user in my command. Manually, when you type hatch command at the command prompt: "When the ribbon is active, the Hatch Creation contextual tab is displayed. When the ribbon is off, the Hatch and Gradient dialog box is displayed." (from Acad help). However the (command "hatch") statement does not activate the contextual tab even when the ribbon is active. I have tested all combinations with -hatch, -bhatch, cmddia and PAUSE, but without success. Is this 'incomplete' work by AutoCAD Development team? Is there a way to activate the contextual tab using Lisp after (command "xxx") statement? I have searched the forum but could not find anything related. Please help. Quote
ReMark Posted April 23, 2012 Posted April 23, 2012 Users can manually create their own hatch patterns using the SuperHatch command found in Express Tools. Why reinvent the wheel? Quote
NirantarVidyarthee Posted April 23, 2012 Author Posted April 23, 2012 Unfortunately, my question is not how a User can create a hatch manually. My question is: How can I display and activate the contextual hatch ribbon tab after the (command "hatch") statement in my code is executed. Quote
ReMark Posted April 23, 2012 Posted April 23, 2012 Would it have something to do with the setting of HPDLGMODE. If it is set to "1" then the Hatch command would act like it did prior to the release of 2011. Set to "0" the contextual hatch ribbon should display. Quote
NirantarVidyarthee Posted April 23, 2012 Author Posted April 23, 2012 From AutoCAD help, HPDLGMODE seems to be about 'Hatch and Gradient dialog box' and NOT about the contextual tab. Have you tried and found out something related to 'hatch' Contextual tab? Quote
ReMark Posted April 23, 2012 Posted April 23, 2012 I think if you test what I wrote you'll see that I am right. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.