Overriding the HPLAYER value in a custom hatch tool

Overriding the HPLAYER value in a custom hatch tool

Anonymous
Not applicable
673 Views
2 Replies
Message 1 of 3

Overriding the HPLAYER value in a custom hatch tool

Anonymous
Not applicable

Hi there, a little help on this matter much appreciated. 

 

I am setting up a CAD standard dwg file at the office, and I have created a tool palette with some custom hatches. 

Each tool inserts its hatch pattern onto a specific layer (e.g concrete hatch on A-PATT_CONC, blockwork hatch on A-PATT_BLOK, etc....)

 

I set HPLAYER to A-PATT so that every new hatch created in the file will automatically go to that layer (trying to avoid hatches on wrong layers!)

 

The problem i am now facing is that the new HPLAYER value is overriding my hatches in the tool palette, and any hatch created from the tool palette is automatically going to A-PATT regardless of the layer setting in each tool.

 

Is there any way to get my hatch tools to ignore/override the HPLAYER value? I tried using layer keys but it seems hathces are not AEC objects. 

 

0 Likes
Accepted solutions (1)
674 Views
2 Replies
Replies (2)
Message 2 of 3

john.vellek
Alumni
Alumni
Accepted solution

Hi @Anonymous,

 

Here is the way I set up my hatch layers for patterns that I put on Tool Palettes. I select the Hatch on the Palette, Rt-click and select Properties.In the list of properties I can set the layer to an existing layer in the drawing. I also have options to pre-select other properties of the hatch to be inserted.

 

I hope this answers your question.

 

Please hit the Accept as Solution button if my post fully solves your issue or answers your question.


John Vellek


Join the Autodesk Customer Council - Interact with developers, provide feedback on current and future software releases, and beta test the latest software!

Autodesk Knowledge Network | Autodesk Account | Product Feedback
0 Likes
Message 3 of 3

john.vellek
Alumni
Alumni

Good morning yasmineabboud,

 


I am checking back to see if my post helped you with your problem. Please add a post with your results so other Forum users can benefit.

Please hit the Accept as Solution button if my post fully solves your issue or answers your question.


John Vellek


Join the Autodesk Customer Council - Interact with developers, provide feedback on current and future software releases, and beta test the latest software!

Autodesk Knowledge Network | Autodesk Account | Product Feedback
0 Likes