+ Reply to Thread
Results 1 to 1 of 1
  1. #1
    Full Member
    Using
    Civil 3D 2017
    Join Date
    May 2010
    Posts
    25

    Default Is changing pipe label styles in VBA possible?

    Registered forum members do not see this ad.

    Just like the title says, since I'm able to change the pipe style, I'm wondering if I'm able to change the pipe's label style as well in VBA. It seems like I can read the style name, but I can't seem to find a way to actually change the style to something else. I'm trying to do something like this (similar method to changing a pipe style), but it's giving me a type mismatch error on the "Set spsLabel.LabelStyle = b" line:

    Note that both of these styles exist, so it's not the fact that I'm trying to change a style to something that doesn't exist.

    EDIT: Just read the developer's guide...
    The label style of a particular pipe cannot be set using the API.
    So much for that idea
    Last edited by thereisnotime; 12th Jun 2017 at 07:07 pm.

Similar Threads

  1. Add background mask to label styles
    By broncos15 in forum AutoLISP, Visual LISP & DCL
    Replies: 1
    Last Post: 1st Apr 2016, 08:56 am
  2. superelevation label styles and colors
    By sandiegophil in forum Civil 3D & LDD
    Replies: 0
    Last Post: 10th Mar 2016, 11:39 pm
  3. Points, point styles and label styles
    By AstroNout in forum Map 3D
    Replies: 13
    Last Post: 6th Aug 2012, 10:44 pm
  4. Civil 3D Label Styles
    By traumathecat in forum Civil 3D & LDD
    Replies: 2
    Last Post: 14th Jul 2010, 09:03 pm
  5. Importing point label styles
    By Vikes_Fl in forum Civil 3D & LDD
    Replies: 2
    Last Post: 20th Apr 2009, 05:27 pm

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts