Hi Sinc,
The compilation worked successfully with the report on the resultant
file size.
None of the other Special linetypes in the AECCLAND.lin use the .SHX
extension when naming the file and I used this as a template to define
my new linetype.
While I was testing this I tried:
*PARKINGBAY, 2.5 x 4.5 parking bay
A,1.25,-0.0,[CIRCLE,AECCLAND,S=4.5,Y=-4.5],1.25
This worked as expected.
However I've adopted your suggestion of adding the SHX extension and it
worked as the attached screen grab shows.
I added another for dealing with bays on the inside of an arc. This
could be used by drawing a conventional arc, then offsetting it inwards
and applying the parkingbay2 linetype to the offset
*PARKINGBAY2, 2.5 x 4.5 for inside of arc parking bay
A,0.00001,-2.5,[MYLINE,AECCLAND.SHX,S=4.5,R=0.0,X=-0.00005,Y=-4.5],-0.00001
Now all we need it for Autodesk to move their linetype ideas from the
1980s to the current century.
A better approach would be to define an alignment style which would work
for all tangents and all arcs where the bays are on the outside of the arc.
Regards,
Laurie Comerford
dei-feif wrote:
> The way I usually create custom linetypes, I compile the SHP file into a SHX file. And I include the shapefile extension in the linetype definition.
>
> What happens if you compile your SHP file into SHX?
>
> You might also need to change your definition:
>
> *PARKINGBAY, 2.5 x 4.5 parking bay
> A,1.25,-0.0,[MYLINE,AECCLAND.SHX,S=4.5,Y=-4.5],1.25
>
>
> All of my linetypes (including the ones created by Autodesk) use the SHX extension in the linetype definition. I'm not sure what Acad does if that extension is missing.
>
> -- Sinc
> http://www.ejsurveying.com
> http://www.quuxsoft.com
>