Sunday, 18 January 2015

Getting Tool Palettes Organised Part 1

Watched this very good AU presentation

AC4814: Managing Your Standards and Reusable Content with AutoCAD® Tool Palettes: Revealed!

Last week on setting up Company Tool Palettes so they work across numerous version of Autocad and Autocad LT from 2002 to 2012 which we happen to have running for various reasons.

I learnt a number of things

1. Hatch, Lines and Text dragged to the ToolPalette remember what layer they were on and create that layer if missing when dragged into a new drawing. Great for helping new staff to great content on the right layers without thinking about it.

2.To access the hidden system variables in Autocad you can add *_ to before the command if you know it.

3. You can use the hidden command “ToolPalettePath” to switch between numerous versions of ToolPalettes which is great.

4. To switch Tool Palettes you can record a new macro command or use a Diesel command (as Autocad LT does not use lsp) with a button on a toolbar to do it.

5. The Tool Palette searches in numerous locations for the block to insert,
a. The current drawing
b. The original file it was added from into the palette from.
dhfrzneh
c. The files under options for your search paths.

Armed with this new information and the following on Diesel Expressions from Tailoring Autocad here on displaying Diesel expression information in the commandline and in the forums here on concatenate Diesel strings. To help me get a string of the current file path and name in Autocad LT using $(EVAL, $(getvar,dwgprefix)$(getvar,dwgname))

I am on a mission to get my offices Tool Palettes and reuseable content more organised and structured.

Sunday, 11 January 2015

Block Attributes marked invisible in block displaying

 

Another quick reminder from here

Working on a as built plan with a council issued block from QLDC an some of the attributes marked invisible are still displaying. Using the setting below fixed it.


If your drawing doesn't display block attributes (even standard attributes not marked as "invisible"), check the setting of the ATTDISP command.

This command offers the following options:

  • Normal - restores the standard attribute visibility: visible attributes are displayed, invisible ones are hidden
  • On - all attributes will be visible (also the attributes marked as "invisible")
  • Off - sets all attributes as invisible, hidden (even the standard "visible" attributes)

Also you may have to run ATTSYNC as well if you have adjusted the visibility in the block.

Random Pieces of Corridor Disappearing

Just a quick reminder to myself.

When I re entry some cross section drawing random pieces of the sectioned corridor model seem to have disappeared. Similar to the image below where half of the corridor on the right has gone.

4lgglodm

The corridor section xref into the section drawing is still there but however for some reason the corridor is not sectioned anymore under the sample line sections. To fix this issue do the following.

1.Go into the sample line sections and right click and choose sample more sources.
yoaxpjty

2.Reselect the corridor model and click the add button to generate the sections again.
fhas4sdd

3. Now I notice in our template (anyway) that all the random corridor sections disappear and we have nothing. To make the corridor re appear you have to go into the section group properties and change the section style to the “basic” one and exit the corridor sections will reappear. Now repeat the above and change the style to the one we want and all will appear to be correct.  This has to be done for all corridors and and every time the drawing is existed and re entered. I real pain in the ###.
 cgm3pbav


bk0tt1ne

Monday, 8 September 2014

Creating an App for Autodesk App Exchange Part 1

Autodesk are running a Hackathon this month to encourage people to publish there apps onto the Autodesk apps exchange. Last year they ran a similar event which I wanted to take part in but did not find the time to, so this year i am determined to at least publish one basic app onto the app exchange.

To figure out what you have to do to bundle your app together to publish it onto the exchange first thing you need to do is check out the process required online at

Autodesk® Exchange Apps Developer Center

and in particular the section for Autocad Verticals which covers Civil3d.

Autodesk Exchange Apps - Information for AutoCAD and AutoCAD Vertical Developers

then you need to check out the couple of Autodesk DevTV videos recommended in the article. Here are  a couple of links to them on youtube that are viewable on your mobile device.

DevTV – Autoloader Format Explained
DevTV - Autocad Creating a Partial CUI

Once you have read these articles and sort al the data you need for you App you are ready to start publishing your App.

1. Go to the Autodesk Apps Exchange.

1o5k4lt3

2. Select the Store you want to login to

324ffj2b

3. Select the Exchange Apps Developers link in the lower right hand corner.

o5fhwnpu

4. Once logged in click “Publish a New Product” to start the publishing process

n0dn0oqp

5. Read the fine print and continue.

tacg4jp1

6. Close what OS your app will support

ymak2rbc

7.Start filling all the data required to be submitted with you App. More in Part 2

hqvsohts

Monday, 7 July 2014

Civil3d Project dll loading but not showing commands

I am not sure why my latest .dll project is not loading on my new work PC at the moment in 2014. The dll appears to load but you can not see the custom commands. A while ago I had a similar problem with the grading plane routines but was getting an error message described here

http://forums.autodesk.com/t5/AutoCAD-Civil-3D-Customization/Working-Plane-Grading-tools/td-p/3310593/highlight/true/page/2

Tomorrow I will try the fix recommended for this error and see if it does the trick.

Tuesday, 1 July 2014

Calculating Length of Pipe Run at fixed ranges of Depth

One of the common things you have to do when coming up with a schedule of quantities is calculate the length of pipe that a contractor has to lay at a certain depth range. Typically in New Zealand this are 0 to 1.5m , 1.5m to 3.0m and greater than 3.0m. Peter Thomson from MWH explained to me a few years ago how he does did and I have finally gotten around to trying it. Here is how.

1. To start you need invert profiles along the bottom of your pipes in your long sections.
2. Now go to the  ANZ Civil Reports and pick profiles and Incremental Station Elevation Difference Report.

cvsly2tp

right Click and Execute the report.

kuuzufs3

yp2zcr5t

Note: One issue with this method is that pipes of different diameter are not accounted for without having a separate invert profile for different pipe diameters. Perhaps something that can be improved with a little bit of vb.net coding.

Wednesday, 11 June 2014

SSA Examples and tutorials

I have been looking around for a bit of a tutorial on using SSA to do a pond and it's outlet structures and have a copy of Mastering Civil3d 2014 but did not know there are three bonus chapters you can download that cover SSA subassembly composer an a bit of Map in more depth. The SSA chapter has just what I was after.


Bonus Chapters
Related Posts Plugin for WordPress, Blogger...