Open navigation menu
Close suggestions
Search
Search
en
Change Language
Upload
Sign in
Sign in
Download free for days
0 ratings
0% found this document useful (0 votes)
8 views
1 page
Chainage Text - Chaintxt
Uploaded by
bravomikeparle
AI-enhanced title
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
Download
Save
Save Chainage Text_chaintxt For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
0 ratings
0% found this document useful (0 votes)
8 views
1 page
Chainage Text - Chaintxt
Uploaded by
bravomikeparle
AI-enhanced title
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
Carousel Previous
Carousel Next
Download
Save
Save Chainage Text_chaintxt For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
Download now
Download
You are on page 1
/ 1
Search
Fullscreen
(defun c:CHAINTXT ( / ) (Chainage_text))
(defun Chainage_text (/)
(vl-load-com)
(setq ss (ssget))
(setq dist 100.0)
(setq dist(getreal (strcat "\n Chainage Distance<" (rtos dist 2 2) ">" )))
(if (= dist nil) (setq dist 100))
(setq count 0
offset 5
height 2.5
)
(repeat (sslength ss)
(setq ent (ssname ss count)
obj (vlax-ename->vla-object ent)
chainage dist
)
(while (and
(setq point1 (vlax-curve-getPointAtDist obj chainage))
(setq point2 (vlax-curve-getPointAtDist obj (+ chainage 0.1)))
)
(setq bearing (+ (angle point1 point2) (/ PI 2.0)))
(entmake (append
'((0 . "LINE") (100 . "AcDbEntity") (67 . 0) (410 . "Model") (8 . "0") (100 .
"AcDbLine"))
(list (cons 10 (polar point1 bearing offset)))
(list (cons 11 (polar point1 (+ bearing PI) offset)))
'((210 0.0 0.0 1.0))
)
)
(entmake (append
'((0 . "TEXT") (100 . "AcDbEntity") (67 . 0) (410 . "Model") (8 . "0") (100 .
"AcDbText"))
(list (cons 10 (polar point1 (+ bearing PI) (* offset 2.0))))
(list (cons 40 height))
(list (cons 1 (rtos chainage 2 3)))
(list (cons 50 (+ bearing PI)))
'((41 . 1.0) (51 . 0.0) (7 . "Standard") (71 . 0) (72 . 0) (11 0.0 0.0 0.0) (210
0.0 0.0 1.0) (100 . "AcDbText") (73 . 0))
)
)
(setq chainage (+ chainage dist))
)
(setq count (1+ count))
)
)
You might also like
03 Text Alignment
PDF
No ratings yet
03 Text Alignment
3 pages
LSP
PDF
No ratings yet
LSP
108 pages
Rutina Wipeout Poligono
PDF
No ratings yet
Rutina Wipeout Poligono
4 pages
Sensitivity: LNT Construction Internal Use
PDF
No ratings yet
Sensitivity: LNT Construction Internal Use
2 pages
AREA
PDF
No ratings yet
AREA
1 page
Arcostolineas LSP
PDF
No ratings yet
Arcostolineas LSP
2 pages
Tendon - A Teddy
PDF
No ratings yet
Tendon - A Teddy
9 pages
04 PathAverage - PAV
PDF
0% (1)
04 PathAverage - PAV
3 pages
Lisp
PDF
No ratings yet
Lisp
161 pages
C User Input For Adaptive Mesh Constraint
PDF
No ratings yet
C User Input For Adaptive Mesh Constraint
6 pages
Boomtakweggeef
PDF
No ratings yet
Boomtakweggeef
8 pages
CAD Unit 2 Notes
PDF
No ratings yet
CAD Unit 2 Notes
15 pages
Plate
PDF
No ratings yet
Plate
3 pages
Normal Contact Stress Code With Quad 4 Node Element
PDF
No ratings yet
Normal Contact Stress Code With Quad 4 Node Element
30 pages
Crack Tutorial-1
PDF
No ratings yet
Crack Tutorial-1
23 pages
Area Text 1
PDF
No ratings yet
Area Text 1
56 pages
Test2 Peghfect
PDF
No ratings yet
Test2 Peghfect
2 pages
New Rich Text Document
PDF
No ratings yet
New Rich Text Document
53 pages
LAYLENGTH
PDF
No ratings yet
LAYLENGTH
2 pages
Nick's Autolisp Utilities
PDF
No ratings yet
Nick's Autolisp Utilities
12 pages
PDF Code Bevelgears
PDF
No ratings yet
PDF Code Bevelgears
2 pages
Siemens Macro Examples
PDF
No ratings yet
Siemens Macro Examples
6 pages
Cable Rev 12 A
PDF
No ratings yet
Cable Rev 12 A
9 pages
Break All in Autocad
PDF
No ratings yet
Break All in Autocad
4 pages
Racunanje Duzine Linija TLEN
PDF
No ratings yet
Racunanje Duzine Linija TLEN
1 page
ANSYS Example Contact
PDF
No ratings yet
ANSYS Example Contact
3 pages
generalized Program To Design Built Up Column: Void BLT - Clmn::getdata
PDF
No ratings yet
generalized Program To Design Built Up Column: Void BLT - Clmn::getdata
8 pages
AREA08
PDF
No ratings yet
AREA08
12,249 pages
3d Space Frame PDF
PDF
No ratings yet
3d Space Frame PDF
4 pages
ANSYS-3D Space Frame Example
PDF
No ratings yet
ANSYS-3D Space Frame Example
4 pages
3D Space Frame Example: Problem Description
PDF
No ratings yet
3D Space Frame Example: Problem Description
4 pages
ST1 Manuel en Version 23
PDF
No ratings yet
ST1 Manuel en Version 23
327 pages
Elastomeric Bearing Design
PDF
50% (2)
Elastomeric Bearing Design
22 pages
Pline 3d 2d
PDF
No ratings yet
Pline 3d 2d
3 pages
Torsion in Circular Shaft by Matlab
PDF
No ratings yet
Torsion in Circular Shaft by Matlab
10 pages
15 Appendix E
PDF
No ratings yet
15 Appendix E
48 pages
Commands
PDF
No ratings yet
Commands
8 pages
Cadastro VLX
PDF
No ratings yet
Cadastro VLX
2 pages
Airfoil Generation: NACA 4&5 Series
PDF
No ratings yet
Airfoil Generation: NACA 4&5 Series
136 pages
PDMS Administrator Query Commands
PDF
No ratings yet
PDMS Administrator Query Commands
14 pages
Assignment 1
PDF
100% (2)
Assignment 1
132 pages
Print ANSYS
PDF
No ratings yet
Print ANSYS
2 pages
New Text Document
PDF
No ratings yet
New Text Document
2 pages
7 Sem Cad File
PDF
No ratings yet
7 Sem Cad File
40 pages
LA1
PDF
No ratings yet
LA1
2 pages
25m Span: No. Type Thk. Along Traffic Across Traffic Along Traffic
PDF
No ratings yet
25m Span: No. Type Thk. Along Traffic Across Traffic Along Traffic
48 pages
Ee465 Final Project
PDF
No ratings yet
Ee465 Final Project
33 pages
DSA - Ch13 - 14 - Graph
PDF
No ratings yet
DSA - Ch13 - 14 - Graph
83 pages
PDMS Commands
PDF
No ratings yet
PDMS Commands
24 pages
Biconnected Components
PDF
No ratings yet
Biconnected Components
8 pages
Anexo: A.1 Modelo de Acelerómetro Torsional
PDF
No ratings yet
Anexo: A.1 Modelo de Acelerómetro Torsional
8 pages
Abaqus Tutorial
PDF
No ratings yet
Abaqus Tutorial
19 pages
Semantic Language Poetry
From Everand
Semantic Language Poetry
Vladan Kuzmanović
No ratings yet
Computer Engineering Laboratory Solution Primer
From Everand
Computer Engineering Laboratory Solution Primer
Karan Bhandari
No ratings yet
Profound Python Data Science
From Everand
Profound Python Data Science
Onder Teker
No ratings yet
No Ph.D. Game Design With Three.js
From Everand
No Ph.D. Game Design With Three.js
Nikiforos Kontopoulos
No ratings yet
A Brief Introduction to MATLAB: Taken From the Book "MATLAB for Beginners: A Gentle Approach"
From Everand
A Brief Introduction to MATLAB: Taken From the Book "MATLAB for Beginners: A Gentle Approach"
Peter Kattan
2.5/5 (2)
TensorFlow深度学习项目实战: Chinese Edition
From Everand
TensorFlow深度学习项目实战: Chinese Edition
Posts & Telecom Press
No ratings yet
Learn Digital and Microprocessor Techniques On Your Smartphone: Portable Learning, Reference and Revision Tools.
From Everand
Learn Digital and Microprocessor Techniques On Your Smartphone: Portable Learning, Reference and Revision Tools.
Clive W. Humphris
No ratings yet
Advanced C Concepts and Programming: First Edition
From Everand
Advanced C Concepts and Programming: First Edition
Gayatri
3/5 (1)
3DFAC
PDF
No ratings yet
3DFAC
1 page
Fortran - Sub Routine Example
PDF
No ratings yet
Fortran - Sub Routine Example
1 page
3DBOX
PDF
No ratings yet
3DBOX
2 pages
3DPOL
PDF
No ratings yet
3DPOL
1 page
3D 2D
PDF
No ratings yet
3D 2D
2 pages
CS Area Canal
PDF
No ratings yet
CS Area Canal
2 pages