Jump to content
Sign in to follow this  
Alan Woodwell

Font id script

Recommended Posts

Hi have found this script that lists the font id because I wanted to format my text style of drawing.

Run this script on any text and with the output add this to your text property node.

Thank to Jullian Carr

----------(Copy script below into a document script palette):---------------

{?1997 Julian Carr Design

This command returns the font ID number of a selected text block}

Procedure TextInfo;

BEGIN IF (FSActLayer<>NIL)&(NumSObj(ActLayer)=1)& (GetType(FSActLayer)=10) THEN Message(Concat('The Font ID Number is : ',GetTextFont(FSActLayer, 0))) ELSE AlrtDialog('Please select one text block of the desired font.');

END;

RUN(TextInfo);

----------------End of Script ----------------------

Edited by Alan Woodwell

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

 

7150 Riverwood Drive, Columbia, Maryland 21046, USA   |   Contact Us:   410-290-5114

 

© 2018 Vectorworks, Inc. All Rights Reserved. Vectorworks, Inc. is part of the Nemetschek Group.

×