Skip to content
Discussion options

You must be logged in to vote

BTW, I had mentioned DXF, consider this sample where you can make a text style, you would need to look up the DXF codes, but this would be easy to serialize

import traceback
from pyrx_imp import Ap, Db, Ge, Ed


@Ap.Command()
def doit():
    try:
        db = Db.curDb()
        print(Db.Core.entGet(db.textstyle()))  # standard
    except Exception as err:
        traceback.print_exception(err)


@Ap.Command()
def doit2():
    try:
        db = Db.curDb()

        # make standard2
        style = [
            (0, "STYLE"),
            (5, "11"),
            (100, "AcDbSymbolTableRecord"),
            (100, "AcDbTextStyleTableRecord"),
            (2, "Standard2"),
            (70, 0),
   …

Replies: 3 comments 7 replies

Comment options

You must be logged in to vote
3 replies
@CEXT-Dan
Comment options

@gswifort
Comment options

@schoeller
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@CEXT-Dan
Comment options

Answer selected by schoeller
@schoeller
Comment options

@schoeller
Comment options

@CEXT-Dan
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants