Jozi68 Posted March 18, 2010 Posted March 18, 2010 Im using the following code to select all text on a specific layer on my drawing: Dim tvs() As TypedValue = New TypedValue() {New TypedValue(CType(DxfCode.Operator, Integer), "New TypedValue(CType(DxfCode.Start, Integer), "TEXT"), _ New TypedValue(CType(DxfCode.LayerName, Integer), "SettingOut"), _ New TypedValue(CType(DxfCode.Operator, Integer), "and>")} Is there a way to say only select text that starts with the letter "A"? Quote
gile Posted March 18, 2010 Posted March 18, 2010 Hi, You can use generic characters with string type values. You don't need to use the "AND" operator, it's the default. TypedValue[] tvs = new TypedValue[]{ new TypedValue(0, "TEXT"), new TypedValue(8, "SettingOut"), new TypedValue(1, "A*")}; Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.