FastFiber

(OPGELOST:) Oppervlakken

Gestart door Adrianus, di 02 02 2016, 21:24:39

Vorige topic - Volgende topic

Adrianus

Beste allen,
Ik heb een mooie lisp gevonden voor het uitrekenen van oppervlakken (geen hatches maar poli lines) waarbij ik in de lisp er niet uit kan halen waar ik de mm2 automatisch kan laten uitrekenen naar m2. Is er iemand die dit voor elkaar kan krijgen. Onderstaand volgt de link naar de LISP.

http://www.lee-mac.com/areastofield.html

Groet,
Adrianus.

----------------;;

roy_043

Heb je dit gelezen?:
Citaat van: http://lee-mac.com/terms.htmlFinally, if you intend to make reference to the programs published on this site on forums or other sites, it is preferable that you provide a link to the program on this site rather than post the code in its entirety on an external site.

Adrianus

#2
Hoi,
Had ik niet gelezen Roy. Maar ik heb wel een link geplaatst onder de TIPS.
Maar ik zal eens zien of ik daar wat kan posten. Overigens heb ik zelf al de oorzaak gevonden.
Excuus overigens voor deze misser  :oops:


Groet,
Adrianus

EddyBeerke

Vertel! Ik wil de oplossing ook graag weten...

Verstuurd vanaf mijn LG-E975 met Tapatalk

Civil3d 2026, Blender 4.x gebruiker
Gebruiker sinds AutoCAD R12

http://eddylucas.c1.biz/
https://www.google.com/maps/contrib/109381066561676463628/photos/

Adrianus

#4
Hoi Eddy,
Hierbij de oplossing.

To determine the correct formatting code to be used, perform the following steps:

Type FIELD at the AutoCAD command-line and press ENTER to open the Field dialog.

Select Objects from the 'Field Category' drop-down menu.

Select Object from the 'Field Names' section.

Select an object (with area) from the drawing by clicking the object selection button adjacent to the 'Object Type' box.

Select the Area property from the 'Property' panel.

Configure the formatting options as desired.

Click OK and pick a point in the drawing to create a temporary MText Field.

Download & load my Field Formatting Code program.

Type fieldformat to run the program and select the temporary MText Field created earlier.

Following a valid selection, the field formatting code will be printed to the command-line, e.g.:
Formatting code: "%lu4%ds44%th39"

Copy the formatting code (including the quotation marks) to the program source code where noted:
(setq fmt "%lu4%ds44%th39") ;; Field Formatting

Save and load the modified program file.

Dit staat ook wat netter als je gewoon voor de link kiest.

Voor bovenstaande moet je dus in de LISP routine zijn en deze aanpassen.

Groet,
Adrianus