

If a function returns x x x, then it should not also produce lasting changes to y y y if y y y lives outside the local scope of the function. No side effects: A corollary of 1 job.Sub-tasks within the main task is delegated to other functions. That is, it should only try to accomplish one well-defined task.
Xlist latex name code#
Code repetition induces bugs when you change code. Get rid of code repetitions by looping or create functions for the lines that are being repeated. A specific line of code must only appear once in your script. When thinking about how organize your functions and objects, few commandments that will serve you well:


Simply change that width from 31 to something longer such as 50, save the file and you won't run into any more truncated layer names. So now you are in a fairly scary looking file but fear not! You are just going to page down to the very end where you will find a section called column and here you will find the length for layer name. Right click on the XLIST.DCL file, select Open with from the shortcut menu and open the file in Notepad (if you open it in Word you risk the chance that you'll embed non-ascii text objects that might potentially break your precious XLIST command). Do a search on your computer and you'll no doubt find it embedded in an Express directory off of your AutoCAD directory. Now this sounds pretty scary, I know, but it's actually quite easy to do!įirst off - you'll need to find XLIST.DCL. Wonderful Murray suggested we change the XLIST.DCL file to accommodate a longer layer name. Sometimes when you concatenate (big word for a Thursday!) the name of the xref with the layer name you will find that you surpass the 31 character limit of XLIST and the layer name will be cut off (see below). First a quick refresher - XLIST can be used to find information such as the layer name for nested objects in an External Reference. If you are a CAD Manager - I can't recommend Robert Green's articles enough - he definitely has his pulse on all things CAD Management!Įxpanding on the AutoCAD Hip Tip for XLISTĪ brilliant reader, Murray Clack, sent me a great tip regarding using XLIST with long layer names.
Xlist latex name free#
A while back I was asked to participate in a five minute interview for Acronym Online and I'm pleased to see that it was published this week. I found the questions a little tricky to answer but feel free to check out the Lynn Allen Five Minute Interview if you want to find out a little more about me (and you have a few spare minutes to burn).Īnd it appears to be official interview week as my good friend Robert Green also published an article for Cadalyst where I responded to some questions focused on CAD Management in a Continuing Recession.
