Untitled

Anonymous
csharp
07/09/2024 11:44 PM
1.0 KB
19
Indexable
       foreach (SelectedObject selObj in SelRes.Value)
       {
           Alignment alinhamento = tr.GetObject(selObj.ObjectId, OpenMode.ForRead) as Alignment;
           string profileName = $"{prefixo}_{alinhamento.Name}";

           ObjectId IDAlinhamento = selObj.ObjectId;
           ObjectId IDProfileStyle = civilDoc.Styles.ProfileStyles["Terreno"];
           ObjectId IDProfileLabelSet = civilDoc.Styles.LabelSetStyles.ProfileLabelSetStyles[0];
           ObjectId IDLayer = TabelaLayers["0"];
           Profile.CreateFromSurface(profileName, IDAlinhamento, surfaceId, IDLayer, IDProfileStyle, IDProfileLabelSet);
          // Profile profile = Profile.CreateFromSurface(profileName, civilDoc, NameId, surfaceId, idLayer, profileStyleId);
       }
Editor is loading...
Leave a Comment